xwikisas / application-ldapuserimport

GNU Lesser General Public License v3.0
0 stars 3 forks source link

Manual Import/update group function in group admin #38

Closed ldubost closed 3 years ago

ldubost commented 3 years ago

Subtask of #37

1/ In the XWiki admin group list, next to each group display a button to "Import/update group" ("Importer/mettre à jour le groupe". When clicking on the button it should 1a/ create all missing users 1b/ sync the data of all already created users 1c/ add user to the group

A confirmation screen should display the number of users found before launching the sync:

" users have be found in the LDAP group and will be imported or updated" " utilisateurs ont été trouvés dans le groupe LDAP et vont être importés ou mis à jour" "Confirm" "Confirmer"

An API already exists in the ldap tools to get all users corresponding to a group as configured in the LDAP group sync. Make sure proper exception trapping will allow to continue the sync even if there is an error in the previous user imported/synced.