Passive authorize policies / opt in by defining methods #38782
Unanswered
dillingham
asked this question in
Ideas
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Would be cool if the policy or method does not exist, the following doesn't take effect.
Then you could add
forceDelete
&restore
toresourceAbilityMap
If those policy methods aren't present, disregard them.. we don't care to gate it.
This would make it easy for packages to define authorization in their controllers..
But allow package consumers to optionally define policies and methods to opt in.
Beta Was this translation helpful? Give feedback.
All reactions