stable

Clone or download

Read-only

POST and DELETE docman_links/id/lock route

part of story #12454 Lock documents How to test: - call the POST/DELETE route on an item who is not a wiki => error - call the POST/DELETE route on an item locked by an other user => error - call the POST/DELETE route on a item you can read => error - call the POST route on an item you can update => success, item is now locked by yourself - call the DELETE route on an item locked by yourself => success, item is no more locked You should be able to lock/unlock links directly in vue app Change-Id: Idf4dd9b45766df6eeecb46a81b7694bb0aee4f8e

Modified Files

Name
M plugins/docman/include/REST/v1/DocmanLinksResource.php +96 −0 Go to diff View file
M plugins/docman/tests/rest/Docman/DocmanItemsTestLinksTest.php +70 −0 Go to diff View file
M plugins/docman/tests/rest/DocmanDataBuilder.php +11 −4 Go to diff View file
M plugins/document/scripts/document/api/rest-querier.js +19 −1 Go to diff View file
M plugins/document/scripts/document/components/Folder/ActionsDropDown/DropdownMenu.vue +3 −2 Go to diff View file
M plugins/document/scripts/document/store/actions.js +9 −1 Go to diff View file