Hi guys, I have an issue and I would like a help.
When a user is created without any role and permission, and it tries to access a forbidden resource, the app just returns the "403 | This action is unauthorized". So here is OK.
But when I assign any role even one without any permission it shows the content of the forbidden resource.
I am the middleware like this:
Hi guys, I have an issue and I would like a help. When a user is created without any role and permission, and it tries to access a forbidden resource, the app just returns the "403 | This action is unauthorized". So here is OK. But when I assign any role even one without any permission it shows the content of the forbidden resource. I am the middleware like this:![Captura de ecrã 2019-09-29, às 10 50 07](https://user-images.githubusercontent.com/20538071/65830476-c1c77180-e2a7-11e9-8997-d8115eb7e7f8.png)