ES-DOC / esdoc-questionnaire

ES-DOC Questionnaire (webform generator for creating CIM Documents). POC: @allynt
Other
2 stars 1 forks source link

Prevent other users (even project members) from editing another user's document. #452

Open allynt opened 8 years ago

allynt commented 8 years ago

WHO: Mark E.

Prevent other users (even project members) from editing another user's document. This should be configurable (a document should be able to opt-out of intra-project authentication).

allynt commented 8 years ago

As a first step, I have added the concept of "ownership" to Q objects. A customization or realization can have an owner and can also be assigned shared_owners. I don't do anything w/ this information yet, but it is there for a future milestone.

allynt commented 8 years ago

After discussion w/ Mark E. some further information can be provided:

It may be more appropriate for the project to be an individual MIP rather than the overall CMIP6 project. Individual MIPs might use the same, for example, model. In that case, each MIP can import an existing CIM2 document - replacing ids - and then edit in the Q and publish.

allynt commented 7 years ago

As w/ db backups, can use Celery for this.