•  
     
    story #24980 forbid modifications of document properties by WRITERS
Summary
Empty
forbid modifications of document properties by WRITERS

I can let writers create documents but do not let them modify. It's useful when the documentation has compliance impact.

Overview

The implementation is done at "docman" level and applies to everything that depend on docman: SOAP & REST APIs, WebDav as well as Document plugin.

Docman administration

The behaviour is configured in docman administration, in "Manage permissions" page. This page will have 2 sections:

  • Docman administrators (the current selector)
  • Restricted permissions

In Restricted permission section, there is a switch "Forbid modifications of document properties by Writers" (default is disabled) Help: "When turned on, Writers will be allowed to set properties when they create a new document but will no longer be able to modify them afterward".

The "Manage permission" page is converted to Burning Parrot.

Note: the Manager permission is not affected (neither are Docman Administrators)

Enforcement of the restriction

The restriction applies:

  • in SOAP API
  • in REST API
  • in WebDav (via document title, it means that it will be only possible to create a new version of the same document. Should be already the case but to be verified and enforced)
  • in docman "legacy" interface
  • in Document app
Empty
Empty
Status
Empty
Done
Development
  • [ ] Does it involves User Interface? 
  • [ ] Are there any mockups?
  • [ ] Are permissions checked?
  • [ ] Does it need Javascript development?
  • [ ] Does it need a forge upgrade bucket?
  • [ ] Does it need to execute things in system events?
  • [ ] Does it impact project creation (templates)?
  • [ ] Is it exploratory?
Empty
Details
#24980
Manuel Vacelet (vaceletm)
2022-03-29 14:04
2022-01-06 10:41
3608

References

Follow-ups

User avatar

gerrit #25296 integrated into Tuleap 13.6.99.21.


  • Acceptance criteria
    Something went wrong, the follow up content couldn't be loaded
    Only formatting have been changed, you should switch to markup to see the changes