Replies: 1 comment
-
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hello .
I want to design a system that in that a super admin can declare roles layers dynamically.
for example a super admin can add : company layer , then he will add department layer and then add role and permission layer.
each user can be member of one or more than one companies and multiple department.
now i want to see does a user has authorize from company by id 3 and department id 6 and role 2 and permission 9 ?
so the code should be like it : $permission = 'company.depatrment.writer.create.1';
how can i handle this scenario by this package?
thank you.
Beta Was this translation helpful? Give feedback.
All reactions