stable

Clone or download

Read-only

Add LDAP groups binding information to the user groups REST representations

No integration/REST tests are done at this point because it requires a cumbersome setup. It will come in a upcoming contribution. Part of story #22707: add LDAP groups binding info to /user_groups/{id} and /projects/{id}/user_groups REST routes Change-Id: If53c5545905ac93efdb0562a7aade97c8a102601

Modified Files

Name
M plugins/ldap/include/LDAP_GroupManager.class.php +1 −2 Go to diff View file
M plugins/ldap/include/LDAP_ProjectGroupDao.class.php +1 −1 Go to diff View file
M plugins/ldap/include/LDAP_UserGroupDao.class.php +1 −1 Go to diff View file
A plugins/ldap/include/REST/LDAPUserGroupRepresentationBase.php +32 −0 Go to diff View file
A plugins/ldap/include/REST/LDAPUserGroupRepresentationInformationAdder.php +88 −0 Go to diff View file
A plugins/ldap/include/REST/LDAPUserGroupRepresentationProjectAdministrator.php +31 −0 Go to diff View file
A plugins/ldap/include/REST/LDAPUserGroupRepresentationSiteAdministrator.php +35 −0 Go to diff View file
M plugins/ldap/include/ldapPlugin.php +15 −0 Go to diff View file
A plugins/ldap/tests/unit/REST/LDAPUserGroupRepresentationInformationAdderTest.php +157 −0 Go to diff View file
A src/common/Project/REST/MinimalUserGroupRepresentationWithAdditionalInformation.php +47 −0 Go to diff View file
A src/common/Project/REST/UserGroupAdditionalInformation.php +29 −0 Go to diff View file
A src/common/Project/REST/UserGroupAdditionalInformationEvent.php +51 −0 Go to diff View file
M src/common/Project/REST/UserGroupRepresentation.php +24 −2 Go to diff View file
M src/common/Project/REST/v1/ProjectResource.class.php +10 −2 Go to diff View file
M src/common/Project/REST/v1/UserGroupResource.class.php +12 −2 Go to diff View file
M src/common/User/REST/v1/UserResource.php +6 −1 Go to diff View file
M tests/rest/tests/ProjectTest.php +20 −10 Go to diff View file
M tests/rest/tests/TrackersTest.php +1 −0 Go to diff View file