Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

remove legacy permission strings #2269

Merged
merged 2 commits into from
Jun 16, 2023
Merged

Conversation

joeyorlando
Copy link
Contributor

@joeyorlando joeyorlando commented Jun 16, 2023

What this PR does

Remove deprecated permissions List[str] from internal API user response. These permission strings are no longer used and AFAICT are not referenced anywhere in the UI.

Checklist

  • Unit, integration, and e2e (if applicable) tests updated
  • Documentation added (or pr:no public docs PR label added if not required) (N/A)
  • CHANGELOG.md updated (or pr:no changelog PR label added if not required)

@joeyorlando joeyorlando added the pr:no public docs Added to a PR that does not require public documentation updates label Jun 16, 2023
@joeyorlando joeyorlando requested a review from a team June 16, 2023 07:42
@joeyorlando
Copy link
Contributor Author

@grafana/grafana-oncall-frontend I took a glance at the frontend code and I do not see this attribute referenced anywhere. do you mind verifying that?

@@ -71,7 +67,7 @@ class Meta:
"email",
"username",
"name",
"role", # LEGACY.. this should get removed eventually
"role",
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think this was improperly marked as "LEGACY" during the RBAC work. role is still needed for the foreseeable future.

@joeyorlando joeyorlando requested a review from a team June 16, 2023 07:47
@joeyorlando joeyorlando removed the request for review from a team June 16, 2023 10:00
@joeyorlando joeyorlando added this pull request to the merge queue Jun 16, 2023
Merged via the queue into dev with commit 111ecb9 Jun 16, 2023
@joeyorlando joeyorlando deleted the jorlando/remove-legacy-permissions branch June 16, 2023 10:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
pr:no public docs Added to a PR that does not require public documentation updates
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants