-
Notifications
You must be signed in to change notification settings - Fork 61
Configurable Authorizer #4650
base: master
Are you sure you want to change the base?
Configurable Authorizer #4650
Conversation
|
I would like to get a demo of this before we merge. Thx |
|
@kgrgreer Cache support added. |
|
All (the pull request submitter and all commit authors) CLAs are signed, but one or more commits were authored or co-authored by someone other than the pull request submitter. We need to confirm that all authors are ok with their commits being contributed to this project. Please have them confirm that by leaving a comment that contains only Note to project maintainer: There may be cases where the author cannot leave a comment, or the comment is not properly detected as consent. In those cases, you can manually confirm consent of the commit author(s), and set the ℹ️ Googlers: Go here for more info. |
|
All (the pull request submitter and all commit authors) CLAs are signed, but one or more commits were authored or co-authored by someone other than the pull request submitter. We need to confirm that all authors are ok with their commits being contributed to this project. Please have them confirm that by leaving a comment that contains only Note to project maintainer: There may be cases where the author cannot leave a comment, or the comment is not properly detected as consent. In those cases, you can manually confirm consent of the commit author(s), and set the ℹ️ Googlers: Go here for more info. |
…te-view-alignment Removed extra padding from Date View
…added adding isFramed
…ector-section-sorted [NP-4109] Business Sectors selection needs to be local sorted
…comments fix duplicate comment being saved
…-102-formattedTextFieldRefactor Revert "Revert "Formatted text field refactor""
…son-bug Fixing comparison bug
…ing-in-gmail add large logo for email
…etailPropertyView
…0/Again Revert "Np 4260/again"
…0/PossibleFixUsingEquals Revert "[NP-4260] Change != to ( ! `.equals()` )"
…-156-revert-155-capability-ids Revert "Relevant Capability Id"
…ng-tooltip-ux Redesigned help UI to accomodate long tooltips
…-157-revert-156-revert-155-capability-ids Revert "Revert "Relevant Capability Id""
…-168-NP-4260/PossibleFixUsingEquals Revert "Revert "[NP-4260] Change != to ( ! `.equals()` )""
…-170-NP-4260/Again Revert "Revert "Np 4260/again""
Always save all
…granted but target id cannot be found
…yAuthServiceNPE NP-4241 CapabilityAuthService NPE
…eckbox-text-rendering checkbox label alignment fix
…heme-fix adds theme fallbacks to sectionedDetailPropertyView
|
All (the pull request submitter and all commit authors) CLAs are signed, but one or more commits were authored or co-authored by someone other than the pull request submitter. We need to confirm that all authors are ok with their commits being contributed to this project. Please have them confirm that by leaving a comment that contains only Note to project maintainer: There may be cases where the author cannot leave a comment, or the comment is not properly detected as consent. In those cases, you can manually confirm consent of the commit author(s), and set the ℹ️ Googlers: Go here for more info. |
ExtendedConfigurableAuthorizer
ExtendedConfigurableAuthorizerProvides runtime authorization configuration through updates to entries within permissionTemplateReferenceDAO.all requests to the service will be permitted.StandardAuthorizer logic will be applied.Example:
A PermissionTemplateReference with a daokey of ['userDAO'], operation "read" and PermissionTemplateProperties [{ class: "PermissionTemplateProperty", propertyReference: "language"}] would use the value of language using a User object attempting to be authorized on the userDAO and compare it to the authenticated permission list.
The requestor (User making the request to access objects) may have the following permission 'userdao.read.en' granting access to all users with the values of language 'en'.
In the case where conflicts may arise from properties holding similar values, a common one for example may be a property of color, you can set impliesValue on the PermissionTemplateProperty referenced in the list of your PermissionTemplateReference, using the example above, will check for a permission of userdao.read.language[en].
Benchmarking tests and comparison results applied when reading a unauthenticated, standardAuthorized and configurableAuthorized user MDAO. View ConfigurableAuthorizerBenchmark for more information.
Issues:
Note:
These changes do not change any existing functionality.