Twill 3 custom roles & permissions are not working
Hello, I'm trying to create new roles and add permissions to them. i want to make some modules only accessible by some of the new roles I've created. I followed the twill documentation and I still get Forbidden yellow screen error when i try to access a certain module as the new user role i created.
here is my code,
Models/Enums/UserRole.php
Providers/AppServiceProvider.php
Providers/AuthServiceProvider.php
It looks like the code in AuthServiceProvider is not redefining twill's default permissions. how do i fix this?
0 Replies