Relative Content

Tag Archive for laravelvue.jsauthorizationpolicy

Laravel policies are not working. 403 error

I am writing an application in laravel and vue. I have done authentication on sanctum and breeze. She works. I wanted to authorize user actions so that he could create content on the site if he has the appropriate role. I wrote the policy: