Skip to content

Add confirmation modal to "Sync now" LDAP button

📖 What does this MR do?

Related to #330902 (closed)

Adds a confirmation modal to the "Sync now" LDAP button to warn users that synchronizing LDAP removes direct members' access.

💻 Local testing

  1. Setup LDAP using the GDK LDAP guide
  2. Login as LDAP user john with password password
  3. Create a group
  4. Navigate to Group -> Settings -> LDAP Synchronization
  5. Choose LDAP Group cn for Sync method
  6. Choose group1 from the LDAP Group cn dropdown
  7. Click Add synchronization
  8. Navigate to Overview -> Members
  9. Click Sync now button

📹 Videos

Before After
Screen_Recording_2021-06-22_at_8.07.11_AM Screen_Recording_2021-06-22_at_8.05.11_AM

🚦 Does this MR meet the acceptance criteria?

Conformity

Availability and Testing

Security

Does this MR contain changes to processing or storing of credentials or tokens, authorization and authentication methods or other items described in the security review guidelines? If not, then delete this Security section.

  • [-] Label as security and @ mention @gitlab-com/gl-security/appsec
  • [-] The MR includes necessary changes to maintain consistency between UI, API, email, or other methods
  • [-] Security reports checked/validated by a reviewer from the AppSec team
Edited by Peter Hegman

Merge request reports