stable

Clone or download

Read-only

Fix request #35475 LDAP daily synchronization does not add project members anymore

Given a project that uses the LDAP ugroup binding for the daily synchronization of members, then users are no more added as project members. This is because the Tuleap user used to the daily synchronization is Anonymous and cannot perform this operation. How to test ----------- * In a project bind the project members to an LDAP group having new users to add * Process the daily sync (run tuleap daily-job in your container) * Wait for the daily sync to be fully run => All new users must be added as project members Change-Id: Icbf90261de401a1b3e1b608e282c418bf0a3b830

Modified Files

Name
M plugins/ldap/include/LDAP_ProjectGroupManager.class.php +6 −5 Go to diff View file
A plugins/ldap/include/Project/AddProjectMembers.php +31 −0 Go to diff View file
A plugins/ldap/include/Project/DailySyncProjectMemberAdder.php +43 −0 Go to diff View file
A plugins/ldap/include/Project/ProjectMemberAdder.php +39 −0 Go to diff View file
M plugins/ldap/include/ldapPlugin.php +28 −3 Go to diff View file
A src/common/Project/Admin/ProjectMembers/DoNotCheckIfUserIsAllowedToManageProjectMembers.php +34 −0 Go to diff View file
M src/common/Project/UGroups/Membership/DynamicUGroups/AddProjectMember.php +15 −0 Go to diff View file
M src/common/Project/UGroups/Membership/DynamicUGroups/ProjectMemberAdderWithStatusCheckAndNotifications.php +9 −0 Go to diff View file
A tests/unit/common/Project/Admin/ProjectMembers/DoNotCheckIfUserIsAllowedToManageProjectMembersTest.php +39 −0 Go to diff View file