emreakay / CodeIgniter-Aauth

Authorization, Authentication and User Management library for Codeigniter 2.x and 3.x to make easy user management and permission operations
http://emreakay.com
GNU Lesser General Public License v3.0
393 stars 234 forks source link

Permissions not working when I assign a role #249

Closed balduinofernando closed 4 years ago

balduinofernando commented 4 years ago

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