Alright here goes
I need an authentication system that will allow people to be.
In a branch
In a role
that in and of itself is farily simple however what I am struggling with is now I need to account for special cases
Basically if a normal member of Role A has access to documents 1,2,3
and
if a normal member of Role B has access to documents 4,5,6
Now how would I give user A access to document 5 without documents 4 and 6?
The second part of this
It's more complicated then simply document 1,2,3,4,5,6
It's more like module 1,2,3,4,5,6 and Each Module has maybe 3 -5 pages associated with it so my idea was to have a module table
Module
-----------
Id
name
Page
---------
Id
name
Module_group
--------------------
module_id
page_id
Can someone who has done this help a little bit?