Open Angelodaniel opened 2 weeks ago
Assigning to @getsentry/support for routing ⏲️
Routing to @getsentry/product-owners-settings-auth for triage ⏲️
We've considered a default team-level role as a configuration option but did not implement it to keep things simple. Leaving this ticket open to see if there's interest from other organizations on this problem.
Problem Statement
In Azure AD, we have security groups for various roles within a team, such as ABC-Admin, ABC-Contrib, ABC-Read, and ABC-Guest, which are used in other monitoring platforms. However, Sentry assigns roles at the user level within a team, not at the team level. This creates the following challenges:
Multiple Teams for Different Roles: If SCIM is enabled, separate Sentry teams are created for each security group. For instance, two teams would be created: "ABCAdmin" (for the Admin group) and "ABCContrib" (for the Contributor group). While the "ABCContrib" team correctly assigns users the Contributor role, users in the "ABCAdmin" team are also assigned the Contributor role by default, instead of the expected Admin role.
Manual Role Assignment for Admins: After team provisioning, organization administrators must manually change a user in the "ABCAdmin" team to the Team Admin role. Without this, the team remains without an internal admin, and the organization admin must step in to perform this task, creating additional administrative overhead.
Limited Self-Management for Teams: This setup limits the ability of teams to self-manage their roles in Sentry. For example, the "ABCContrib" team can operate as expected without intervention, but the "ABCAdmin" team requires manual role elevation from the organization admin to ensure someone has the necessary permissions to manage the team. Although the organization admin can initially assign a Team Admin, the role assignment process in Sentry often leads to confusion and is likely to be overlooked by team admins, ultimately resulting in additional administrative overhead.
Solution Brainstorm
No response
Product Area
Settings - Auth
┆Issue is synchronized with this Jira Improvement by Unito