Skip to content

Commit 552bb4e

Browse files
azaslavskycathteng
authored andcommitted
feat(backup): Remove org_role from sentry.team on import (#71069)
This completes the too-early attempt from this PR: #69003 Closes #66247 --------- Co-authored-by: Cathy Teng <cathy.teng@sentry.io>
1 parent 2e603a5 commit 552bb4e

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

fixtures/backup/fresh-install.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -214,8 +214,7 @@
214214
"status": 0,
215215
"actor": 1,
216216
"idp_provisioned": false,
217-
"date_added": "2023-06-22T22:54:28.821Z",
218-
"org_role": null
217+
"date_added": "2023-06-22T22:54:28.821Z"
219218
}
220219
},
221220
{

src/sentry/backup/imports.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -64,9 +64,8 @@
6464
# each entry in this dict, please leave a TODO comment pointed to a github issue for removing
6565
# the shim, noting in the comment which self-hosted release will trigger the removal.
6666
DELETED_FIELDS: dict[str, set[str]] = {
67-
# TODO(getsentry/sentry#66247): Remove once self-hosted 24.4.0 is released.
6867
# The actor field should be retained until 24.6.0
69-
"sentry.team": {"org_role", "actor"},
68+
"sentry.team": {"actor"},
7069
# TODO(mark): Safe to remove after july 2024 after self-hosted 24.6.0 is released
7170
"sentry.rule": {"owner"},
7271
# TODO(mark): Safe to remove after july 2024 after self-hosted 24.6.0 is released

0 commit comments

Comments
 (0)