stable

Clone or download

Read-only

Prevent deletion if user is not siteadmin

This is part of story #9315: Prevent anybody except siteadmin from deleting items in docman How to test this: - set the boolean to true in your web container (in /etc/tuleap/plugins/docman/etc/docman.inc) - As document manager, project admin or document writer: - you will not be able to delete any file or any folder - you will not be able to delete any version of a file - As siteadmin - you will be able to delete any file, folder or any version of a file Change-Id: I700c3bdd32408b0bc8a1a02077a0265700e53f14

Modified Files

Name
M plugins/docman/etc/docman.inc.dist +1 −1 Go to diff View file
M plugins/docman/include/Docman_Controller.class.php +21 −4 Go to diff View file