-
Notifications
You must be signed in to change notification settings - Fork 107
Method for using Laravel native Policies for API authorization? #45
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
Comments
The In essence there's an Our approach is to hand off the Laravel policies via This might make more sense if I add it to the demo app. I'll try to do that but I have pressing work deadlines at the moment so not sure I'm going to be able to do it this week... |
Sounds good, I'll give it a shot! |
I'm reopening this as a reminder to add it to the demo. |
Authorization all updated, documented and added to the demo app. See: Released as |
Per the subject...
Laravel uses five method calls in the policy classes to describe permissions: index, create, view, update, delete. These mean the same thing as your five in this package. I'd rather not separate policy settings because of a concern that policy changes in one space won't be replicated to the other.
Any thoughts or suggestions?
The text was updated successfully, but these errors were encountered: