stable
Clone or download
Read-only
part of story #12454 Lock documents How to test: - call the route on an item who is not a file => error - call the route on an item locked by an other user => error - call the route on a item on which you only have the READ permission => error - call the route on an item you can update => success, item is now unlocked Change-Id: Ia4002ff6ae60e0565f04b0961cffdb0acc59d688
Modified Files
Name | ||||
---|---|---|---|---|
M | plugins/docman/include/REST/v1/DocmanFilesResource.php | +63 | −32 | Go to diff View file |
M | plugins/docman/tests/rest/Docman/DocmanItemsTestFilesTest.php | +57 | −1 | Go to diff View file |
M | plugins/docman/tests/rest/DocmanDataBuilder.php | +8 | −0 | Go to diff View file |