Mike Haberman wrote:
> 
> I need some clarification on how the new permissions tables work.
> Let's say I have
> Permissions {a b c}
> Roles {x, y, z}
> 
> Role-Permissions (x {a}, y {a, b}, z {a, b, c})
> that is role x has permisions a. role z has all 3 permissions
> 
> QUESTION 1:
> Now I want all Users who do not log in to belong to group Guest with
> Role x:
> 
> The User_Group_Role table states that none (users, groups, or role)
> can be null, so how do I map the following:
>    I want all non-athenticated users to belong to the group Guest
> and I want group Guest to have a set a roles.

This is SUPPOSED TO work this way - you create a user with empty
login name, and assign it roles in certain groups. All non-authenticated
users use this account. I think that at this moment this won't work.
Sorry :-(. (The join between user and user_role_group is done by user
id,
not login)

> QUESTION 2:
> I would like to do the following:
> Group A has users (1,2,3,4)
> and Group A has roles (x, y)
> So all members in groups A have the permissions associated with the roles
> x and y.

No no no... Please read the archives...

Rafal

--
Rafal Krzewski
Senior Internet Developer
mailto:[EMAIL PROTECTED]
+48 22 8534830 http://e-point.pl


------------------------------------------------------------
To subscribe:        [EMAIL PROTECTED]
To unsubscribe:      [EMAIL PROTECTED]
Search: <http://www.mail-archive.com/turbine%40list.working-dogs.com/>
Problems?:           [EMAIL PROTECTED]

Reply via email to