Skip to content

Resolve "Allow setting a default role for Group SSO"

Manoj M J requested to merge 214523-set-default-role-for-sso-in-gitlab-com into master

What does this MR do?

For #214523 (closed)

  • This change adds the ability to set a "Default membership role" when setting up a group SAML provider. If not selected, the default value is always "Guest"
  • The selected role is saved in the default_memebership_role column in saml_providers table.
  • Whenever a new user is added to the group via Group SSO or via SCIM provisioning, the role set up in the step above will be set as the access level of the newly added user in the group.

Screenshot_2020-07-29_at_2.42.29_PM

Setup

To setup SAML in local development for testing/development please follow this guide.

Screenshots

Does this MR meet the acceptance criteria?

Conformity

Availability and Testing

Security

If this MR contains changes to processing or storing of credentials or tokens, authorization and authentication methods and other items described in the security review guidelines:

  • 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 Manoj M J

Merge request reports