-
Notifications
You must be signed in to change notification settings - Fork 11.1k
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
[8.x] Add gate policy callback #39185
Conversation
Can you look at the I will mark this PR as draft until that is done - please mark it as active when you are ready for me to review it again. |
…into feat/gate-callback
@taylorotwell I changed the trait so the it works when an array is passed to the authorize method. However calling the |
This reverts commit 02c5dc5.
Reverting this. See #39267 |
This pr adds the ability to pass policy callbacks to the gate.
Usage
Why This Is Usefull