Skip to content

Commit 954ec2d

Browse files
committed
Specify all org permissions
1 parent 80739f4 commit 954ec2d

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/sentry/api/endpoints/prompts_activity.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,10 @@ def validate_feature(self, value):
3636

3737

3838
class PromptsActivityPermission(OrganizationPermission):
39-
scope_map = {"GET": ["org:read"], "PUT": ["org:read"]}
39+
scope_map = {
40+
"GET": ["org:read", "org:write", "org:admin"],
41+
"PUT": ["org:read", "org:write", "org:admin"],
42+
}
4043

4144

4245
@cell_silo_endpoint

0 commit comments

Comments
 (0)