stable

Clone or download

Read-only

Add Project information on UserGroupRepresentation

This change is part of story #14019: automate jenkins job creation & run How to test: * make a GET request to /user_groups/:id * you should have project information either null if it's a platform group or a minimalProjectRepresentation. Change-Id: I5dc7e52292dc9b9e7e8e64e328e10a3a24b6756b

Modified Files

Name
M plugins/docman/include/REST/v1/Permissions/DocmanItemPermissionsForGroupsBuilder.php +3 −3 Go to diff View file
M plugins/docman/include/REST/v1/Permissions/DocmanItemPermissionsForGroupsRepresentation.php +10 −10 Go to diff View file
M plugins/docman/include/REST/v1/Service/DocmanServicePermissionsForGroupsBuilder.php +2 −2 Go to diff View file
M plugins/docman/include/REST/v1/Service/DocmanServicePermissionsForGroupsRepresentation.php +1 −1 Go to diff View file
M plugins/frs/include/FRS/REST/v1/PackageRepresentationBuilder.php +2 −2 Go to diff View file
M plugins/frs/include/FRS/REST/v1/ReleasePermissionsForGroupsBuilder.php +2 −2 Go to diff View file
M plugins/frs/include/FRS/REST/v1/ServicePermissionsForGroupsRepresentation.php +7 −7 Go to diff View file
M plugins/frs/include/FRS/REST/v1/ServiceRepresentationBuilder.php +2 −2 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 +3 −3 Go to diff View file
M plugins/tracker/include/REST/FieldListBindUGroupValueRepresentation.class.php +3 −3 Go to diff View file
M plugins/tracker/include/REST/FormElement/PermissionsForGroupsBuilder.php +2 −2 Go to diff View file
M plugins/tracker/include/REST/Tracker/PermissionsRepresentationBuilder.php +2 −2 Go to diff View file
M plugins/tracker/include/REST/v1/TrackerFieldRepresentations/PermissionsOnArtifacts.class.php +3 −3 Go to diff View file
M plugins/tracker/include/Tracker/Artifact/Tracker_Artifact_ChangesetValue_PermissionsOnArtifact.class.php +2 −1 Go to diff View file
M plugins/tracker/include/Tracker/FormElement/Tracker_FormElement_Field_List_Bind_Ugroups.class.php +4 −3 Go to diff View file
M plugins/tracker/include/Tracker/FormElement/Tracker_FormElement_Field_List_Bind_UgroupsValue.class.php +2 −1 Go to diff View file
M plugins/tracker/include/Tracker/FormElement/Tracker_FormElement_Field_OpenList.class.php +2 −2 Go to diff View file
M plugins/tracker/include/Tracker/FormElement/Tracker_FormElement_Field_PermissionsOnArtifact.class.php +1 −1 Go to diff View file
A src/common/Project/REST/MinimalUserGroupRepresentation.php +69 −0 Go to diff View file
R src/common/Project/REST/UserGroupRepresentation.class.php Go to diff View file
M src/common/Project/REST/v1/ProjectResource.class.php +2 −2 Go to diff View file
M src/common/Project/REST/v1/UserGroupResource.class.php +8 −7 Go to diff View file
M src/common/REST/ResourcesInjector.class.php +1 −1 Go to diff View file
M tests/rest/tests/UserGroupTest.php +20 −22 Go to diff View file