Authorization on a Resource level #6462
Replies: 1 comment
-
Released with Laravel Nova 5.0.0 Feel free to open up a new issue if you're still experiencing this problem on the latest version. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
The current authorization mechanism requires authorization logic to be defined in Policies. As we know from Laravel, a single Model can have only one Policy. However, one Model can be used in multiple Nova Resources. In such scenarios, it is challenging to implement different authorization logic for each Nova Resource in which the Model is used.
So, it would be highly appreciated if we could define authorization logic on a Resource level, instead of Model -> Policy level.
Beta Was this translation helpful? Give feedback.
All reactions