Browse Source

fix(alerts): frontend for sentry app alerts permissions (#83110)

Set the default to be no access, like the other permissions.
Michelle Fu 2 months ago
parent
commit
1717bf1bbd
1 changed files with 2 additions and 0 deletions
  1. 2 0
      static/app/utils/consolidatedScopes.tsx

+ 2 - 0
static/app/utils/consolidatedScopes.tsx

@@ -18,6 +18,7 @@ const HUMAN_RESOURCE_NAMES = {
   event: 'Event',
   org: 'Organization',
   member: 'Member',
+  alerts: 'Alerts',
 };
 
 const DEFAULT_RESOURCE_PERMISSIONS: Permissions = {
@@ -27,6 +28,7 @@ const DEFAULT_RESOURCE_PERMISSIONS: Permissions = {
   Event: 'no-access',
   Organization: 'no-access',
   Member: 'no-access',
+  Alerts: 'no-access',
 };
 
 const PROJECT_RELEASES = 'project:releases';