security assist
Help please.
Client request to have have different dealers access only certain pages, some dealers have multiple brands.
I have 10 different user groups.
I have 7 different pages that can be accessed by these groups.
1 group can access all pages.
1 group can access 3 different pages.
2 groups can access 2 different pages each and
6 groups can access only 1 page each
Each user will log into a distinct group numbered 5 thru 15
At the moment each group number equates to the kind of pages accessible, ie group 6 access 2 pages, see diagram.
I can access any pages with 1 rule.
How do I restrict different pages to the required users?
I am only allowed 1 true statement so how can I allow different user groups access to the same page?
I have tried to use the groups but I can only get 1 group per page, I want to have more than 1 group access the same page.
The "HelperGroupsRulesPHP.php" has all the rules.
Can I have more groups per page. At the moment all the pages use the same rule. If I change a page to a different rule it applies to them all.
How can I have different multiple rules per page?
Can this be done?
I have sent a couple of attachments to help with my dilemma
Thanks
David