stable

Clone or download

Read-only

Add permissions on frs_package

Part of story #13654 have detailed permissions in REST API Change-Id: I057e27b4d88eb2ee8cfaada07a2dca41c6d80dee

Modified Files

Name
M plugins/frs/include/FRS/REST/v1/PackageRepresentation.php +13 −9 Go to diff View file
A plugins/frs/include/FRS/REST/v1/PackageRepresentationBuilder.php +95 −0 Go to diff View file
M plugins/frs/include/FRS/REST/v1/PackageResource.php +16 −19 Go to diff View file
A plugins/frs/include/FRS/REST/v1/PermissionsForGroupsRepresentation.php +38 −0 Go to diff View file
A plugins/frs/phpunit/FRS/REST/v1/PackageRepresentationBuilderTest.php +123 −0 Go to diff View file
M plugins/frs/tests/rest/FRS/PackagesTest.php +12 −0 Go to diff View file
M plugins/frs/tests/rest/_fixtures/frs/project.xml +4 −0 Go to diff View file
M plugins/frs/tests/rest/_fixtures/frs/users.xml +7 −0 Go to diff View file
M plugins/git/include/REST/v1/GitRepositoryPermissionRepresentation.class.php +2 −2 Go to diff View file
M plugins/svn/include/REST/v1/NotificationsBuilder.php +1 −1 Go to diff View file
M plugins/tracker/include/REST/FormElement/PermissionsForGroupsBuilder.php +1 −1 Go to diff View file
M plugins/tracker/include/REST/Tracker/PermissionsRepresentationBuilder.php +1 −1 Go to diff View file
M plugins/tracker/include/REST/v1/TrackerFieldRepresentations/PermissionsOnArtifacts.class.php +2 −2 Go to diff View file
M plugins/tracker/include/Tracker/FormElement/Tracker_FormElement_Field_List_Bind_Ugroups.class.php +2 −2 Go to diff View file
M src/common/Project/REST/UserGroupRepresentation.class.php +1 −1 Go to diff View file
M src/common/Project/REST/v1/ProjectResource.class.php +1 −1 Go to diff View file
M src/common/Project/REST/v1/UserGroupResource.class.php +2 −2 Go to diff View file
M src/common/permission/IPermissionsManagerNG.php +4 −1 Go to diff View file
M src/common/permission/PermissionsManager.class.php +2 −1 Go to diff View file