Skip to content

a RolePolicy to restrict access to the Role ( same for Permissions) not being honored. #2461

Answered by drbyte
ddoddsr asked this question in Q&A
Discussion options

You must be logged in to vote

I think we'd need to see more of your application code. Perhaps even create a simple demo application that shows what you're trying to do specifically in this regard.

Chances are it's related to your policy not being loaded/detected, and/or your controller or routes/middleware code.

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by ddoddsr
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants