stable
Clone or download
Read-only
* commit '1011daf30e673f2d5b9ddfe2a9b8eed5e6a9c427': story #24981: forbid deletion of documents and versions by WRITERS Change-Id: I9df13c482cdd0c3c0a50ca0244d693bf76e3f52f
Modified Files
Name | ||||
---|---|---|---|---|
M | plugins/docman/db/install.sql | +1 | −0 | Go to diff View file |
A | plugins/docman/db/mysql/updates/2022/202203101725_add_writers_allowed_to_delete.php | +44 | −0 | Go to diff View file |
M | plugins/docman/include/Docman_Actions.class.php | +2 | −1 | Go to diff View file |
M | plugins/docman/include/Docman_Controller.class.php | +1 | −2 | Go to diff View file |
M | plugins/docman/include/Docman_ItemFactory.class.php | +1 | −1 | Go to diff View file |
M | plugins/docman/include/Docman_PermissionsManager.class.php | +36 | −27 | Go to diff View file |
A | plugins/docman/include/Item/SubItemsDeletableVisitor.php | +93 | −0 | Go to diff View file |
R | plugins/docman/include/Settings/ForbidWritersToUpdateDAOSettings.php | Go to diff View file | ||
R | plugins/docman/include/Settings/ForbidUpdatePropertiesSettings.php | Go to diff View file | ||
R | plugins/docman/include/Settings/ITellIfWritersAreAllowedToUpdateProperties.php | Go to diff View file | ||
M | plugins/docman/include/Settings/SettingsDAO.php | +9 | −5 | Go to diff View file |
M | plugins/docman/include/view/Docman_View_Admin_Permissions.class.php | +1 | −0 | Go to diff View file |
M | plugins/docman/site-content/fr_FR/LC_MESSAGES/tuleap-docman.po | +10 | −0 | Go to diff View file |
M | plugins/docman/templates/admin/permissions-addendum.mustache | +15 | −0 | Go to diff View file |
M | plugins/docman/tests/rest/Docman/ForbidWritersTest.php | +35 | −3 | Go to diff View file |
M | plugins/docman/tests/rest/DocmanForbidWritersDataBuilder.php | +2 | −1 | Go to diff View file |
M | plugins/docman/tests/soap/DocmanTest.php | +24 | −0 | Go to diff View file |
A | plugins/docman/tests/unit/Item/SubItemsDeletableVisitorTest.php | +122 | −0 | Go to diff View file |
M | plugins/docman/tests/unit/PermissionManager/Docman_PermissionsManagerTest.php | +74 | −33 | Go to diff View file |
R | plugins/docman/tests/unit/Settings/ForbidUpdatePropertiesSettingsTest.php | Go to diff View file | ||
M | plugins/document/include/Tree/DocumentTreeController.php | +5 | −3 | Go to diff View file |
M | plugins/document/include/Tree/DocumentTreePresenter.php | +6 | −0 | Go to diff View file |
M | plugins/document/include/documentPlugin.php | +1 | −1 | Go to diff View file |
M | plugins/document/scripts/document/components/Folder/ActionsQuickLookButton/QuickLookDeleteButton.test.ts | +23 | −16 | Go to diff View file |
M | plugins/document/scripts/document/components/Folder/ActionsQuickLookButton/QuickLookDeleteButton.vue | +9 | −1 | Go to diff View file |
M | plugins/document/scripts/document/components/Folder/DropDown/DropDownCurrentFolder.test.ts | +28 | −8 | Go to diff View file |
M | plugins/document/scripts/document/components/Folder/DropDown/DropDownCurrentFolder.vue | +9 | −1 | Go to diff View file |
M | plugins/document/scripts/document/components/Folder/DropDown/DropDownDisplayedEmbedded.test.ts | +26 | −6 | Go to diff View file |
M | plugins/document/scripts/document/components/Folder/DropDown/DropDownDisplayedEmbedded.vue | +9 | −3 | Go to diff View file |
M | plugins/document/scripts/document/components/Folder/DropDown/DropDownMenuTreeView.test.ts | +51 | −3 | Go to diff View file |
M | plugins/document/scripts/document/components/Folder/DropDown/DropDownMenuTreeView.vue | +10 | −5 | Go to diff View file |
A | plugins/document/scripts/document/helpers/can-delete-helper.test.ts | +74 | −0 | Go to diff View file |
A | plugins/document/scripts/document/helpers/can-delete-helper.ts | +28 | −0 | Go to diff View file |
M | plugins/document/scripts/document/index.js | +2 | −0 | Go to diff View file |
M | plugins/document/scripts/document/store/configuration/index.ts | +1 | −0 | Go to diff View file |
M | plugins/document/templates/document-tree.mustache | +1 | −0 | Go to diff View file |
M | plugins/webdav/include/FS/WebDAVDocmanFile.class.php | +10 | −6 | Go to diff View file |
M | plugins/webdav/include/WebDAVUtils.class.php | +0 | −1 | Go to diff View file |