stable

Clone or download

Read-only

DELETE docman_embedded_files/{id}

part of: story #12452 Delete folder/items How to test: - Try to delete a link / file / wiki or an empty document --> You get an error - Try to delete an embedded file as a docman reader or an anonymous user --> You get an error - Try to delete an embedded file locked by another user --> You get an error (only if you are not project manager) - Try to delete an embedded file locked by you --> It works - Try to delete an embedded file not locked --> It works Change-Id: I588cc9c58486392b092a8d4523e3b548d1a11dc5

Modified Files

Name
M plugins/docman/include/REST/v1/DocmanEmbeddedFilesResource.php +50 −4 Go to diff View file
M plugins/docman/tests/rest/Docman/DocmanItemsTestFilesEmbeddedTest.php +118 −0 Go to diff View file
M plugins/docman/tests/rest/DocmanDataBuilder.php +26 −4 Go to diff View file
M plugins/document/scripts/document/api/rest-querier.js +7 −1 Go to diff View file
M plugins/document/scripts/document/components/Folder/ActionsQuickLookButton/QuickLookDeleteButton.vue +13 −9 Go to diff View file
M plugins/document/scripts/document/store/actions.js +5 −1 Go to diff View file
M plugins/document/scripts/document/store/actions.spec.js +18 −3 Go to diff View file