< Levels of Access >

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

« previous php.general (#35189) next »