Skip to content

Conversation

chromy
Copy link
Contributor

@chromy chromy commented Oct 13, 2025

No description provided.

@chromy chromy requested a review from a team as a code owner October 13, 2025 15:19
@chromy chromy marked this pull request as draft October 13, 2025 15:19
@github-actions github-actions bot added Scope: Frontend Automatically applied to PRs that change frontend components Scope: Backend Automatically applied to PRs that change backend components labels Oct 13, 2025
Copy link
Contributor

🚨 Warning: This pull request contains Frontend and Backend changes!

It's discouraged to make changes to Sentry's Frontend and Backend in a single pull request. The Frontend and Backend are not atomically deployed. If the changes are interdependent of each other, they must be separated into two pull requests and be made forward or backwards compatible, such that the Backend or Frontend can be safely deployed independently.

Have questions? Please ask in the #discuss-dev-infra channel.


class ProjectDistributionPermission(ProjectPermission):
scope_map = {
"GET": ["project:read", "project:write", "project:admin", "distribution:read", "org:ci"],
Copy link
Contributor

Choose a reason for hiding this comment

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

I was thinking we exclude all the scopes other than "distribution:read". Do we need the other ones? This token wouldn't be used for anything other than GET

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Scope: Backend Automatically applied to PRs that change backend components Scope: Frontend Automatically applied to PRs that change frontend components

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants