stable

Clone or download

Read-only

Permissions of an empty document can be updated via REST

Part of story #12457: New document modal: permissions Change-Id: I572221dabc423f20053bd522849fdc24808a6f9d

Modified Files

Name
M plugins/docman/include/Docman_Actions.class.php +0 −20 Go to diff View file
M plugins/docman/include/Permissions/PermissionItemUpdater.php +11 −6 Go to diff View file
M plugins/docman/include/REST/v1/DocmanEmptyDocumentsResource.php +59 −0 Go to diff View file
A plugins/docman/include/REST/v1/Permissions/DocmanItemPermissionsForGroupsPUTRepresentation.php +42 −0 Go to diff View file
A plugins/docman/include/REST/v1/Permissions/MinimalUserGroupRepresentationForUpdate.php +29 −0 Go to diff View file
A plugins/docman/include/REST/v1/Permissions/PermissionItemUpdaterFromRESTContext.php +170 −0 Go to diff View file
A plugins/docman/phpunit/REST/v1/Permissions/PermissionItemUpdaterFromRESTContextTest.php +242 −0 Go to diff View file
M plugins/docman/tests/rest/Docman/DocmanEmptyTest.php +49 −0 Go to diff View file