04-05-2017, 04:26 PM
If I am understanding correctly, each company has its own set of pages each user would access? Is that right? Have you thought about having a permission group for each company?
If I am right, you could have a company table, match that to the permission ID, and match that to the user. It would obviously take more than just that, but that would be a start.
The way I have my system setup is for one single "company" lets say, and each level has its own extra pages it has access to. So you could have a permission level for each company, and then make a code on the account.php or home.php page that redirects to a certain page based on company, and then you can use the companies to do up a nav.
It won't be easy, but I can see it working.
I hope this helps.
If I am right, you could have a company table, match that to the permission ID, and match that to the user. It would obviously take more than just that, but that would be a start.
The way I have my system setup is for one single "company" lets say, and each level has its own extra pages it has access to. So you could have a permission level for each company, and then make a code on the account.php or home.php page that redirects to a certain page based on company, and then you can use the companies to do up a nav.
It won't be easy, but I can see it working.
I hope this helps.