On Wed, 17 Jan 2001, Abe wrote:

> Hey Guys,
>
> I wonder if anyone can shed light...
> I have a system that internal users access -
>
> I have separated access levels into 1, 2, 3 etc.  So if you have access 1
> you can view certain things - If you are 2 then you can view more or other
> things.
>
> However the problem arises when someone in access level 1 wants to access a
> level 2 function.  I then manually specify that:
>
> if (access = 2 or user=joe) {
> Allow the functions ...
> }
>
> This can get messy - as individuals will be specified all over the place on
> a large system to override levels of access.
>
> Is there a sensible standard that is used to have levels of access but
> special people can access certain higher level functions.?
>
> I hope that makes sense.
>
> Thanks
>

Instead of having individual users specified at certain points, why don't you
say that a user has to be a member of a certain group? That way in order to
open an access lock for a user, all you have to do is add them to the group.
You could even make the security levels groups themselves.

-- 
Ignacio Vazquez-Abrams  <[EMAIL PROTECTED]>


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to