Show SAML badges for projects under nested subgroups for direct members
Related to #421482 (closed)
What does this MR do and why?
This MR addresses the issue of the SAML badge not displaying on a project level (projects in subgroups) for direct members.
The issue occurs when an existing group_saml
user in a project (with a SAML badge), is overridden to a different role.
Screenshots or screen recordings
Group Hierarchy | Project In SubGroup |
---|---|
How to set up and validate locally
Requires an EE license to test on GDK since group-saml is only available in the premium/ultimate tiers on SASS.
-
Set up SimpleSAML with GDK:
- Follow the SimpleSAML setup guide for integration with GDK.
- Configure the identity provider (Simple SAML) to service provider (Gitlab).
-
Create test users with SimpleSAML:
- Sign in using SSO to Gitlab as test users on an incognito browser session.
-
Create nested subgroups and projects:
- Set up a hierarchy like
group -> subgroup -> project
. - Invite users to the parent group.
- Override a user to a higher role in the nested project.
- Verify that the SAML badge still shows in the project-level.
- Set up a hierarchy like
MR acceptance checklist
Please evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.
Edited by Hakeem Abdul-Razak