stable

Clone or download

Read-only

Add the list of permissions in the docman item representation

Part of story #13654: have detailed permissions in REST API Part of story #12457: New document modal: permissions Change-Id: I0f36e078213807e84d8f43e2140ee5bd5d7a47cd

Modified Files

Name
M plugins/docman/include/Docman_PermissionsManager.class.php +26 −19 Go to diff View file
M plugins/docman/include/Docman_PermissionsManagerDao.class.php +16 −11 Go to diff View file
M plugins/docman/include/REST/v1/DocmanItemsResource.php +14 −4 Go to diff View file
M plugins/docman/include/REST/v1/ItemRepresentation.php +15 −6 Go to diff View file
M plugins/docman/include/REST/v1/ItemRepresentationBuilder.php +17 −9 Go to diff View file
A plugins/docman/include/REST/v1/Permissions/DocmanItemPermissionsForGroupsBuilder.php +102 −0 Go to diff View file
A plugins/docman/include/REST/v1/Permissions/DocmanItemPermissionsForGroupsRepresentation.php +58 −0 Go to diff View file
M plugins/docman/include/docmanPlugin.class.php +10 −1 Go to diff View file
M plugins/docman/phpunit/REST/v1/ItemRepresentationBuilderTest.php +20 −7 Go to diff View file
M plugins/docman/phpunit/REST/v1/ItemRepresentationCollectionBuilderTest.php +27 −3 Go to diff View file
A plugins/docman/phpunit/REST/v1/Permissions/DocmanItemPermissionsForGroupsBuilderTest.php +138 −0 Go to diff View file
M plugins/docman/tests/PermissionsManagerTest.php +2 −2 Go to diff View file
M plugins/docman/tests/rest/Docman/DocmanItemsTest.php +9 −1 Go to diff View file