stable

Clone or download

Read-only

Allow to re-use the transformation the permissions for groups REST representation

The same transformation will be needed for the item creation. No functionnal change. Part of story #12457: New document modal: permissions Change-Id: I3221526696b24a766a4c543463ccc41e0a995dda

Modified Files

Name
M plugins/docman/include/REST/v1/DocmanEmbeddedFilesResource.php +9 −6 Go to diff View file
M plugins/docman/include/REST/v1/DocmanEmptyDocumentsResource.php +9 −6 Go to diff View file
M plugins/docman/include/REST/v1/DocmanFilesResource.php +9 −6 Go to diff View file
M plugins/docman/include/REST/v1/DocmanFoldersResource.php +7 −4 Go to diff View file
M plugins/docman/include/REST/v1/DocmanLinksResource.php +9 −6 Go to diff View file
M plugins/docman/include/REST/v1/DocmanWikiResource.php +9 −6 Go to diff View file
M plugins/docman/include/REST/v1/Permissions/DocmanFolderPermissionsForGroupsPUTRepresentation.php +1 −1 Go to diff View file
A plugins/docman/include/REST/v1/Permissions/DocmanItemPermissionsForGroupsSet.php +44 −0 Go to diff View file
A plugins/docman/include/REST/v1/Permissions/DocmanItemPermissionsForGroupsSetFactory.php +153 −0 Go to diff View file
R plugins/docman/include/REST/v1/Permissions/DocmanItemPermissionsForGroupsPUTRepresentation.php Go to diff View file
M plugins/docman/include/REST/v1/Permissions/PermissionItemUpdaterFromRESTContext.php +10 −116 Go to diff View file
A plugins/docman/phpunit/REST/v1/Permissions/DocmanItemPermissionsForGroupsSetFactoryTest.php +195 −0 Go to diff View file
M plugins/docman/phpunit/REST/v1/Permissions/PermissionItemUpdaterFromRESTContextTest.php +21 −167 Go to diff View file