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

Manage Team in Environment permissions to invite/update/remove other teams #1235

Open
1 of 3 tasks
SofiaSazonova opened this issue Apr 30, 2024 · 2 comments
Open
1 of 3 tasks
Labels

Comments

@SofiaSazonova
Copy link
Contributor

SofiaSazonova commented Apr 30, 2024

#1212

There are three steps to properly solve this issue:

  • Quick bugfix. Right now the user can remove group, if they can invite team. Quick solution: couple remove permission with update permission, rather then invite permission. ( bugfix bugfix: EnvironmentGroup can remove other groups #1234 )

  • Introduce ResourcePolicy with the resource_type = 'EnvironmentGroup'. In invitation form the user will have to input 'Supervisors' -- team/group, that have permissions to update and remove EnvironmentGroup.

  • TO DECIDE: Implement 'permission boundaries' mechanism. Each tram can grant other team with limited permissions.

@noah-paige
Copy link
Contributor

May want to deisgn with similar logic as to what we implement for Organizations w.r.t #1273

@dlpzx
Copy link
Contributor

dlpzx commented Jul 12, 2024

@SofiaSazonova @noah-paige @anmolsgandhi should we nominate this item for 2.7?

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

No branches or pull requests

3 participants