Skip to content

Commit a560837

Browse files
committed
for sentryAppsPermission too
1 parent c06cd2d commit a560837

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

src/sentry/api/bases/sentryapps.py

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,15 @@ def wrapped(self, *args, **kwargs):
4545

4646
class SentryAppsPermission(SentryPermission):
4747
scope_map = {
48-
'GET': (), # Public endpoint.
48+
# Public endpoint.
49+
'GET': ('event:read',
50+
'event:write',
51+
'event:admin',
52+
'project:releases',
53+
'project:read',
54+
'org:read',
55+
'member:read',
56+
'team:read',),
4957
'POST': ('org:read', 'org:integrations', 'org:write', 'org:admin'),
5058
}
5159

0 commit comments

Comments
 (0)