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

Add askem admins to all projects #2989

Merged
merged 5 commits into from
Mar 12, 2024

Conversation

bigglesandginger
Copy link
Contributor

@bigglesandginger bigglesandginger commented Mar 12, 2024

Description

Allow ASKEM_Admins write permissions to all projects, both new and existing

Copy link
Member

@YohannParis YohannParis left a comment

Choose a reason for hiding this comment

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

Why is it easier to add a the ASKEM_ADMIN_GROUP permissions on all calls to rebac instead of giving the group admin on everything?

@bigglesandginger
Copy link
Contributor Author

Why is it easier to add a the ASKEM_ADMIN_GROUP permissions on all calls to rebac instead of giving the group admin on everything?

Not really certain what you mean, but I think you are asking, why check ReBAC if the user is a member of the admin group?

The only place that there is knowledge that a given user (Yohann for instance) is in the admin group is within ReBAC, and ReBAC is designed to answer heirarchical permission calls. Additionally, having this part of ReBAC means that as long as the code check ReBAC for permissions there are no edge cases to memorize.

@bigglesandginger bigglesandginger merged commit 203c093 into main Mar 12, 2024
6 checks passed
@bigglesandginger bigglesandginger deleted the add_askem_admins_to_all_projects branch March 12, 2024 18:26
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.

Add ASKEM Admins to all projects as Admins (and on project create - assets?)
2 participants