•  
     
    story #24981 forbid deletion of documents and versions by WRITERS
Summary
Empty
forbid deletion of documents and versions by WRITERS

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

Overview

This is a complement of story #24980

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

As for previous story #24980. The behaviour is configured in "Manage permissions" page of docman administration.

In Restricted permission section, there is a switch "Forbid deletion of document & versions by Writers" (default is disabled) Help: "When turned on, Writers will not be able to delete a document or a version of Documents".

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
  • 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
#24981
Manuel Vacelet (vaceletm)
2022-03-29 14:06
2022-01-06 10:42
3608

References

Follow-ups

User avatar

gerrit #25343 integrated into Tuleap 13.6.99.69.


  • So that
    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
  • 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
User avatar
  • So that
    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
  • 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