Re: < Levels of Access >

From: Date: Wed, 17 Jan 2001 22:42:34 +0000
Subject: Re: < Levels of Access >
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-35190@lists.php.net to get a copy of this message
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 <ignacio@openservices.net>

« previous php.general (#35190) next »