Deny a permission for a user #2160
-
Hello, we know that |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 5 replies
-
Read other issues or discussions before opening a new one, it is not so hard, look |
Beta Was this translation helpful? Give feedback.
-
Well i got time to implement the trait @erikn69 made
Add the config below in
Add the code below in
And add Done, this is totally tested and working. Thanks to @erikn69 |
Beta Was this translation helpful? Give feedback.
Well i got time to implement the trait @erikn69 made
But i used to do minor modifications the trait.
Create
HasRolesAndForbiddenPermissions.php
file inApp/Traits/Permissions
folder with the content below: