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 Attribute to Policy to Indicate "Must-Pass" #712

Open
aaj3f opened this issue Jan 12, 2024 · 0 comments
Open

Add Attribute to Policy to Indicate "Must-Pass" #712

aaj3f opened this issue Jan 12, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@aaj3f
Copy link
Contributor

aaj3f commented Jan 12, 2024

Description

We recently discussed the need to have some attribute on a policy akin to !important in CSS that indicates that the policy trumps the typical logical-OR pattern and MUST be passed, even if other policies that would apply to the operation also would pass.

For example, we might have an student role with a policy that does NOT give transact op access to a class like ResultGrade. If a user was both a student and an admin and if admin had a policy that DID give transact op access to ResultGrade, we might not want the admin role to trump the student role with regard to transacting to ResultGrade. Use of this !important attribute (whatever it may look like) on the student role policy applying to ResultGrade would mean that this policy HAD to pass (logical-AND).

@aaj3f aaj3f added the enhancement New feature or request label Jan 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant