Skip to content

Add `Enterprise` filter to members search bar

What does this MR do and why?

Adds an Enterprise filter to groups with SAML enabled. This filter will show all the users with or without the Enterprise badge. The Enterprise badge is added to users that have been provisioned by SCIM or SAML.

Screenshots or screen recordings

Group with SAML enabled

Before After
Screen_Shot_2022-03-11_at_7.51.07_AM Screen_Shot_2022-03-11_at_7.46.07_AM

Group without SAML enabled

Expected to look the same

Before After
Screen_Shot_2022-03-11_at_7.51.44_AM Screen_Shot_2022-03-11_at_7.47.10_AM

How to set up and validate locally

  1. Enable group SAML
    • Navigate to gitlab.yml file in the gdk/gitlab directory
    • Find the development -> omniauth -> providers section
    • Add - { name: 'group_saml' }
    • Restart GDK (gdk restart)
  2. Sign in and navigate to a group -> Settings -> SAML SSO
  3. For the Identity provider single sign-on URL field enter https://localhost:8443/simplesaml/saml2/idp/SSOService.php
  4. For the Certificate fingerprint field enter 119b9e027959cdb7c662cfd075d9e2ef384e445f
  5. Save the configuration
  6. Navigate to Group information -> Members
  7. Choose the Enterprise filter and hit the submit button

MR acceptance checklist

This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.

Related to #349887 (closed)

Edited by Peter Hegman

Merge request reports

Loading