-
Notifications
You must be signed in to change notification settings - Fork 165
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
ERROR 403 Forbidden. This action is unauthorized. #71
Comments
Hello there! Thanks for opening your first issue on this repo! Just a heads-up: Here at Backpack we use Github Issues only for tracking bugs. Talk about new features is also acceptable. This helps a lot in keeping our focus on improving Backpack. If you issue is not a bug/feature, please help us out by closing the issue yourself and posting in the appropriate medium (see below). If you're not sure where it fits, it's ok, a community member will probably reply to help you with that. Backpack communication mediums:
Please keep in mind Backpack offers no official / paid support. Whatever help you receive here, on Gitter, Slack or Stackoverflow is thanks to our awesome awesome community members, who give up some of their time to help their peers. If you want to join our community, just start pitching in. We take pride in being a welcoming bunch. Thank you! -- |
Hi @elivnjak , Did you solve this with a Thanks! |
Hi @elivnjak composer update didn't fix it. I had to update my default guard from web to backpack. |
I think as with #72 it's an old version of permission manager that's the problem – composer.json has ^2.1 but latest release is 3.12.6. Any reason for not bumping PermissionManager up to 3.x? |
I think you're totally right, thank you @johnpuddephatt . That must be the issue. I've bumped PermissionManager requirement to 3.x . Thanks, cheers! |
@elivnjak - a new installation of the demo should work for you now. Thanks for reporting the issue! |
I am getting this error. Can some body help me out. I am running my db, backend and frontend on docker-compose (docker-containers). When I use laravel's Request class, it works fine. But when I import and Type hint a Form Request class I get a 403, Action is Unauthorized in postman. Help please! |
@Bliss911 what version of PermissionManager do you have installed ? |
@pxpm my bad. I wasn't working on my PermissionManager Project. |
Hi,
I have done a fresh install of the latest version, no modifications done.
The CRUD seems to work for all the models apart from the User, Roles and permissions.
Any time i try to edit or add a new user, role or permission I get taken to a "ERROR 403 Forbidden. This action is unauthorized." page.
I did a bit of searching through the code and have found the authorize method is whats causing it. For example in PermissionCrudRequest the method \Auth::check(); returns false. I'm not sure why this is exactly.
Laravel 5.6.39
Using PHP 7.2.1
MySql 5.7.23
Any idea why I'm getting this issue?
Thanks
The text was updated successfully, but these errors were encountered: