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

fix: prevent users from seeing their own flags #4167

Open
wants to merge 1 commit into
base: 2.x
Choose a base branch
from
Open

fix: prevent users from seeing their own flags #4167

wants to merge 1 commit into from

Conversation

SychO9
Copy link
Member

@SychO9 SychO9 commented Jan 24, 2025

Fixes #4163

Changes proposed in this pull request:
In 1.x you could not see your own flag, changes made in 2.x have unintentionally made it so that you can. That is because while 1.x allows seeing one's own flags in the API, it explicitly hides them in the UI.

Looking at the git history, the additional "see own flags" query scope seems to have been a mistake addition. Flags were never shown to the flag creator prior to that.

@SychO9 SychO9 requested a review from a team as a code owner January 24, 2025 10:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[2.0 beta2] Flag permission in user context not working poperly
1 participant