Skip to content

Commit 9b80874

Browse files
dcramercodex
andcommitted
ref(api): defer incident mutation scope tightening
Remove the incident permission change from the existing-write-scope pass. Incident mutation has an older member-access contract tied to project access, so tightening it cleanly needs a dedicated scope decision instead of being folded into the uncontroversial cleanup. Also drop an unrelated CODEOWNERS hunk so this branch stays focused on backend mutation scope changes. Co-Authored-By: OpenAI Codex <noreply@openai.com>
1 parent 6144c10 commit 9b80874

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

.github/CODEOWNERS

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -437,7 +437,6 @@ tests/sentry/api/endpoints/test_organization_attribute_mappings.py @get
437437
/static/app/components/analyticsArea.spec.tsx @getsentry/app-frontend
438438
/static/app/components/analyticsArea.tsx @getsentry/app-frontend
439439
/static/app/components/loading/ @getsentry/app-frontend
440-
/static/app/components/markdownTextArea.tsx @getsentry/app-frontend
441440
/static/app/components/events/interfaces/ @getsentry/app-frontend
442441
/static/app/components/forms/ @getsentry/app-frontend
443442
/static/app/locale.tsx @getsentry/app-frontend

src/sentry/api/bases/incident.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,9 +20,9 @@ class IncidentPermission(OrganizationPermission):
2020
"project:write",
2121
"project:admin",
2222
],
23-
"POST": ["org:write", "org:admin", "project:write", "project:admin"],
24-
"PUT": ["org:write", "org:admin", "project:write", "project:admin"],
25-
"DELETE": ["org:write", "org:admin", "project:write", "project:admin"],
23+
"POST": ["org:write", "org:admin", "project:read", "project:write", "project:admin"],
24+
"PUT": ["org:write", "org:admin", "project:read", "project:write", "project:admin"],
25+
"DELETE": ["org:write", "org:admin", "project:read", "project:write", "project:admin"],
2626
}
2727

2828

0 commit comments

Comments
 (0)