stable

Clone or download

Read-only

DELETE docman_links/{id}

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

Modified Files

Name
M plugins/docman/include/REST/v1/DocmanLinksResource.php +49 −4 Go to diff View file
M plugins/docman/tests/rest/Docman/DocmanItemsTestFilesTest.php +1 −1 Go to diff View file
M plugins/docman/tests/rest/Docman/DocmanItemsTestLinksTest.php +98 −1 Go to diff View file
M plugins/docman/tests/rest/DocmanDataBuilder.php +30 −8 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.spec.js +9 −6 Go to diff View file
M plugins/document/scripts/document/components/Folder/ActionsQuickLookButton/QuickLookDeleteButton.vue +2 −2 Go to diff View file
M plugins/document/scripts/document/store/actions.js +11 −4 Go to diff View file
M plugins/document/scripts/document/store/actions.spec.js +29 −5 Go to diff View file