Skip to content

chore: warn user without permissions to view org members #16721

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

Merged
merged 1 commit into from
Feb 26, 2025

Conversation

jaaydenh
Copy link
Contributor

@jaaydenh jaaydenh commented Feb 26, 2025

resolves coder/internal#392

In situations where a user accesses the org members without any permissions beyond that of a normal member, they will only be able to see themselves in the list of members.

This PR shows a warning to users who arrive at the members page in this situation.

Screenshot 2025-02-26 at 18 36 59

@jaaydenh jaaydenh requested a review from aslilac February 26, 2025 18:40
@jaaydenh jaaydenh self-assigned this Feb 26, 2025
Copy link
Member

@aslilac aslilac left a comment

Choose a reason for hiding this comment

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

nice! I really like this design! ⭐️

@jaaydenh jaaydenh changed the title chore: display warning to user without permissions to view org members chore: warn user without permissions to view org members Feb 26, 2025
@jaaydenh jaaydenh merged commit 6b69635 into main Feb 26, 2025
36 checks passed
@jaaydenh jaaydenh deleted the jaaydenh/org-members-warning branch February 26, 2025 22:03
@github-actions github-actions bot locked and limited conversation to collaborators Feb 26, 2025
@stirby
Copy link
Collaborator

stirby commented Mar 3, 2025

/cherry-pick release/2.20

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

A user with admin roles in 1 org is able to access some UI in an 2nd org that they are only a member
3 participants