SAML Badge to appear for subgroup direct users
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
How to set up and validate locally
- 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 - Setup
SAML SSO
credentials for one of the group in your local setup. - Login as different users using the
Single Sign on URL
so that for those usersSAML SSO
is configured in your application. - 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 - 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
- After the changes in MR
SAML
badge should still appear next to the username
Edited by Smriti Garg