getsentry / sentry

Developer-first error tracking and performance monitoring
https://sentry.io
Other
38.53k stars 4.12k forks source link

Unable to Create Alerts as Team Admin #75612

Open kerenkhatiwada opened 1 month ago

kerenkhatiwada commented 1 month ago

Environment

SaaS (https://sentry.io/)

Steps to Reproduce

Currently, a user who holds a member role and is a Team Admin cannot create an alert for a project their team owns. Checking the docs here, Team Admins should be able to create alerts: "Can create alerts even if the org setting for "Let members create alerts" is disabled". Steps to reproduce:

  1. Ensure "Let members create alerts" is disabled for the organization
  2. Assign a user with a member role as a Team Admin (e.g., Team 1).
  3. Assign Team 1 ownership of Project A
  4. Have the user attempt to create an alert for Project A.

This user is not able to create an alert. Also observed, the user is able to edit alerts but not able to create alerts. When "Let members create alerts" is enabled, the user can create an alert.

Expected Result

User is able to create alerts

Actual Result

User is unable to create alerts

Product Area

Alerts

Link

No response

DSN

No response

Version

No response

getsantry[bot] commented 1 month ago

Auto-routing to @getsentry/product-owners-alerts for triage ⏲️

schew2381 commented 1 month ago

Which alert type is the user trying to create?

remaxrickerts commented 1 month ago

Which alert type is the user trying to create?

A Number of Errors alert.

Image

I am the user, thanks.

remaxrickerts commented 1 month ago

Once my permissions were elevated to Manager as a workaround for this issue, I was able to add the Alert and receive an email for it.

Image

schew2381 commented 1 month ago

@remaxrickerts Thanks for the heads up, I'll look into this and see what I can find