-
I'm making company management system, and now it's time to wrap up the roles. So, therefore, my app is structured in the following way: Company has many divisions. What I'm wondering is how do set up roles and permissions in smoothest manner, considering few requirements: Super-admin - can do whatever he likes. One way that I'm thinking is to add few extra columns to user model, something like: division_id, subdivision_id, is_super_admin, but that fails given the fact that one user can have permissions for more than one division, subdivision etc. Building permission for each and every division/subdivision isn't good, as there should be a lot of divisions/subdivisions. How do I even get started with this, as I'm stuck for quite some time now. Thanks in advance! There are related issues, but none of them seems to do me any good. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
Maybe #1804 |
Beta Was this translation helpful? Give feedback.
Maybe #1804
Your team is sub division