Skip to content

Commit ae726d1

Browse files
committed
add comment
1 parent a560837 commit ae726d1

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

src/sentry/api/bases/sentryapps.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,8 @@ def wrapped(self, *args, **kwargs):
4545

4646
class SentryAppsPermission(SentryPermission):
4747
scope_map = {
48-
# Public endpoint.
48+
# GET is ideally a public endpoint but for now we are allowing for
49+
# anyone who has member permissions or above.
4950
'GET': ('event:read',
5051
'event:write',
5152
'event:admin',
@@ -126,7 +127,8 @@ class SentryAppPermission(SentryPermission):
126127
}
127128

128129
published_scope_map = {
129-
# Public endpoint.
130+
# GET is ideally a public endpoint but for now we are allowing for
131+
# anyone who has member permissions or above.
130132
'GET': ('event:read',
131133
'event:write',
132134
'event:admin',

0 commit comments

Comments
 (0)