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: block adding a root role to a group with a project role #3775

Merged

Conversation

sighphyre
Copy link
Member

What

Blocks adding a root role to a group that already has a project role.

Why

This is a bug and a confusing one at that. The group role mapping is an either/or - you either get project permissions or you get a root role, but not both. Blocking this flow makes this a little saner to use.

@vercel
Copy link

vercel bot commented May 15, 2023

The latest updates on your projects. Learn more about Vercel for Git ↗︎

2 Ignored Deployments
Name Status Preview Comments Updated (UTC)
unleash-docs ⬜️ Ignored (Inspect) May 16, 2023 9:43am
unleash-monorepo-frontend ⬜️ Ignored (Inspect) May 16, 2023 9:43am

Copy link
Contributor

@gastonfournier gastonfournier left a comment

Choose a reason for hiding this comment

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

LG

@sighphyre sighphyre merged commit efbec71 into main May 16, 2023
9 checks passed
@sighphyre sighphyre deleted the fix/prevent-setting-both-root-and-project-role-for-group branch May 16, 2023 10:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

None yet

2 participants