stable

Clone or download

Read-only

Permissions can be updated on a folder and its children at once via the REST API

A new key is available in the representation given to update the folder permissions to enable it. Part of story #12457: New document modal: permissions Change-Id: I0490d918deb6b9428f3b79e3b8cb00d6ffce80e6

Modified Files

Name
M plugins/docman/include/REST/v1/DocmanFoldersResource.php +5 −3 Go to diff View file
A plugins/docman/include/REST/v1/Permissions/DocmanFolderPermissionsForGroupsPUTRepresentation.php +31 −0 Go to diff View file
M plugins/docman/include/REST/v1/Permissions/DocmanItemPermissionsForGroupsPUTRepresentation.php +1 −1 Go to diff View file
M plugins/docman/include/REST/v1/Permissions/PermissionItemUpdaterFromRESTContext.php +42 −3 Go to diff View file
M plugins/docman/phpunit/REST/v1/Permissions/PermissionItemUpdaterFromRESTContextTest.php +75 −0 Go to diff View file
M plugins/docman/tests/rest/Docman/DocmanFoldersTest.php +66 −0 Go to diff View file