RE: [PHP] < Levels of Access >
| From: | Jason Murray | Date: | Wed, 17 Jan 2001 22:42:30 +0000 |
| Subject: | RE: [PHP] < Levels of Access > | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-35191@lists.php.net to get a copy of this message | ||
> Is there a sensible standard that is used to have levels of access but
> special people can access certain higher level functions.?
I've seen a (rather good, I might add) permissions structure that followed
a pattern like a unix filesystem.
/general
/users
/products
/sales
/marketing
/admin
And then added specific permissions as required under that.
So, if you wanted one person to be able to access the Admin Delete
tool, you could specifically add "/admin/delete" to their permission
list, while someone with "/admin" permission would be able to access
"/admin/delete" by default.
I'll see if I can grab some MySQL table definitions and the like
if you'd like them...
Jason
--
Jason Murray
jasonm@melbourneit.com.au
Web Design Team, Melbourne IT
Fetch the comfy chair!