It would be nice to automatically promote users to the administrator role based on an attribute in SAML. For example, if a user belongs to a group called "Sourcegraph administrators", it would be nice if they would automatically be promoted to site admin on the first login.
Is your feature request related to a problem? If so, please describe.
Currently, admins must be promoted manually by another site admin.
Similarly, when a user logs into Sourcegraph using the SAML auth provider, if the user is currently a site admin but not in the correct SAML group, they should be demoted.
Requested by: https://github.com/sourcegraph/accounts/issues/3, https://github.com/sourcegraph/accounts/issues/8405, https://github.com/sourcegraph/accounts/issues/5
Feature request description
It would be nice to automatically promote users to the administrator role based on an attribute in SAML. For example, if a user belongs to a group called "Sourcegraph administrators", it would be nice if they would automatically be promoted to site admin on the first login.
Is your feature request related to a problem? If so, please describe.
Currently, admins must be promoted manually by another site admin.
Additional context
/cc @sourcegraph/source/iam