- "A" who can access to all entity in the country "France". - "B" who can access to entities "Head Quarters" in all countries. - "C" who can access to to all entity in the country "France" and entity "Head Quarters" in the country "USA".
How can I manage the access for my "C" user ?
With the following code :
[CODE]
Section access;
LOAD * INLINE [ ACCESS, USERID, PASSWORD, GRP_COUNTRY, GRP_ENTITY ADMIN, admin, admin, ALL, ALL USER, A, pass, FRANCE, ALL USER, B, pass, ALL, HEADQUARTER USER, C, pass, FRANCE, ALL USER, C, pass, USA, HEADQUARTER ];
Section application; star is *;
GRP_COUNTRY: load * inline [ GRP_COUNTRY, Country ALL, * FRANCE, France USA, USA ];
GRP_ENTITY: load * inline [ GRP_ENTITY, Entity ALL, * HEADQUARTER, Head Quarter ];
[/CODE]
my user "C" can access to all entities of the country "USA", whereas I would like only "Head Quarter"...
Like this, the acces is equivalent to
country = France and entity = * and coutry = USA and entity = *
and I would like it to be
(country = France and entity = *) or (coutry = USA and entity = Head Quarter)