PDA

View Full Version : Confused about user level


Jenny I
09-29-2009, 11:39 AM
I have tried to follow the security assist solution recepies but I am getting a bit confused on user levels.

on the first solution recepie video a field is added to the user table called user level. It is an Integer not null. Is this a foriegn key to a reference table that lists the user groups? e,g.

user level table

1. Visitor
2,Power User
3.Admin

or is this just an independant field?

If it is an indepdendant field, in the later stages of the solution recepie tutorials, on the update page (user profile page) there is a drop down menu which allows administrators to select user levels. How was this created? and how does it link to the access rules/ groups that have been defined in the access rules/ pages /groups manager?

Jason Byrnes
09-29-2009, 04:30 PM
Yes, it is a foriegn key to a users level table exactly as your example.

Jenny I
09-30-2009, 10:26 AM
Thanks for clarifying that for me Jason