stable

Clone or download

Read-only

Sync of the project members to an LDAP directory group is aware of the restricted status

In a private project not including restricted users, the restricted users are not added to the project members during the synchronisation. The update modal also take this information into account and displays accurate information. To test, you will need to enable the "private without restricted" mode by setting the global parameter feature_flag_project_without_restricted to 1. This is part of story #13237: Prevent restricted to be added to private projects Change-Id: Ifa978d1eef6320b706b4b0f7ecc52c48f8b6fcf8

Modified Files

Name
M plugins/ldap/include/LDAP.class.php +2 −2 Go to diff View file
A plugins/ldap/include/LDAPSetOfUserIDsForDiff.php +61 −0 Go to diff View file
M plugins/ldap/include/LDAP_ProjectGroupManager.class.php +46 −5 Go to diff View file
M plugins/ldap/include/LDAP_UserGroupManager.class.php +2 −2 Go to diff View file
A plugins/ldap/include/ProjectGroupManagerRestrictedUserFilter.php +109 −0 Go to diff View file
M plugins/ldap/include/ldapPlugin.class.php +7 −4 Go to diff View file
A plugins/ldap/phpunit/.simpletest_skip +0 −0 Go to diff View file
A plugins/ldap/phpunit/LDAPSetOfUserIDsForDiffTest.php +41 −0 Go to diff View file
A plugins/ldap/phpunit/ProjectGroupManagerRestrictedUserFilterTest.php +108 −0 Go to diff View file
A plugins/ldap/phpunit/bootstrap.php +20 −0 Go to diff View file
M src/common/Project/Project.class.php +1 −1 Go to diff View file