stable

Clone or download

Read-only

(request #11619) Email notifications of LDAP Sync

This makes LDAP sync send messages to the project admins when users are added or removed from LDAP sync. The feature becomes enabled only if $sys_ldap_grp_sync_admin_notifications_enabled is set in ldap.inc Change-Id: I7d22b0878384094fc41f432bf1fd73f40cf39eb9

Modified Files

Name
M plugins/ldap/etc/ActiveDirectory.inc.dist +3 −0 Go to diff View file
M plugins/ldap/etc/OpenLDAP.inc.dist +3 −0 Go to diff View file
A plugins/ldap/include/GroupSyncAdminEmailNotificationsManager.class.php +163 −0 Go to diff View file
A plugins/ldap/include/GroupSyncEmailPresenter.class.php +50 −0 Go to diff View file
A plugins/ldap/include/GroupSyncNotificationsManager.php +39 −0 Go to diff View file
A plugins/ldap/include/GroupSyncSilentNotificationsManager.class.php +45 −0 Go to diff View file
M plugins/ldap/include/LDAP_GroupManager.class.php +32 −12 Go to diff View file
M plugins/ldap/include/LDAP_ProjectGroupManager.class.php +10 −3 Go to diff View file
M plugins/ldap/include/LDAP_UserGroupManager.class.php +3 −2 Go to diff View file
M plugins/ldap/include/autoload.php +6 −2 Go to diff View file
M plugins/ldap/include/ldapPlugin.class.php +33 −4 Go to diff View file
M plugins/ldap/site-content/fr_FR/LC_MESSAGES/tuleap-ldap.po +19 −1 Go to diff View file
M plugins/ldap/site-content/tuleap-ldap.pot +18 −0 Go to diff View file
A plugins/ldap/templates/ldap-group-sync-email.mustache +19 −0 Go to diff View file
M plugins/ldap/tests/LDAP_GroupManagerTest.php +54 −4 Go to diff View file
M plugins/ldap/tests/UserGroupManagerTest.php +2 −1 Go to diff View file