Skip to content

SAML Badge to appear for subgroup direct users

Smriti Garg requested to merge smriti-11870/saml_status_badge_in_subgroups into master

What does this MR do and why?

Solves #11870 (closed)

Screenshots or screen recordings

@hyon user in the following screenshot is direct member for subgroup subgrouptwitter1 but still SAML badge is properly shown next to the name

Screenshot_2023-03-13_at_10.13.22_PM

How to set up and validate locally

  1. Enable group_saml confiuration for your local setup using this guide - https://gitlab.com/gitlab-org/gitlab-development-kit/blob/main/doc/howto/saml.md
  2. Setup SAML SSO credentials for one of the group in your local setup.
  3. Login as different users using the Single Sign on URL so that for those users SAML SSO is configured in your application.
  4. Create a subgroup for your group and observe all the existing members of the group are inherited in the subgroup https://docs.gitlab.com/ee/user/project/members/index.html#inherited-membership and if they are SAML users SAML badge is displayed
  5. Now change any one of the SAML member to a direct member of the sub_group. You can do that by re-inviting the user to the subgroup with higher permission
  6. After the changes in MR SAML badge should still appear next to the username
Edited by Smriti Garg

Merge request reports

Loading