stable

Clone or download

Read-only

DELETE /docman_wikis/{id}

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

Modified Files

Name
M plugins/docman/include/REST/v1/DocmanWikiResource.php +51 −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/DocmanItemsTestWikiTest.php +104 −2 Go to diff View file
M plugins/docman/tests/rest/DocmanDataBuilder.php +26 −2 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 +2 −6 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 +19 −3 Go to diff View file