Skip to content

Add Sync now to group members page

Drew Blessing requested to merge dblessing/gitlab:group_sync_now into master

Closed #400 (closed)

Add ability for a group admin to sync LDAP groups on-demand.

I added the 'pending' state to make the UX better. If a user clicks 'Sync now', we enqueue the job but it may be a few seconds or minutes until the job is actually picked up. In this case, user would be redirected to the group member page and the 'Sync now' button would be available again. Pending status shows that the group will be synced, before it is actually synced. If we already set it to 'started' then the group sync will fail when it checks that the status says it's OK to sync.

Current UI

Screen_Shot_2016-09-01_at_3.14.53_PM

Proposed UI (with 3 states)

Screen_Shot_2016-09-01_at_4.15.13_PM


Screen_Shot_2016-09-01_at_4.15.47_PM


Screen_Shot_2016-09-01_at_4.16.04_PM

Merge request reports

Loading