Re: user access/roles/privs functionality

From: Date: Mon, 17 Nov 2008 07:25:56 +0000
Subject: Re: user access/roles/privs functionality
References: 1 2  Groups: php.general 
Request: Send a blank email to php-general+get-283339@lists.php.net to get a copy of this message
On Sat, Nov 15, 2008 at 11:21 AM, bruce <bedouglas@earthlink.net> wrote:
Hi list... I need a way of managing users/teams/etc.. implementing roles/access rights/privs,etc... I'd like a way of being able to have users "report to" the resource above them, ie, the ability to have a hierarchical kind of tree approach would be good as wel, as this would allow different user/mgr/teams to be moved up/down in the tree as required. If I can find the right process, I'll implement it in my targeted app. I'd prefer something that's fairly well compartmentalized.. but if need be, I'm willing to rip the right system out of it's parent app if I can find one that's good!!! I've reviewed the systems in the vtiger/knowledgetree apps. thoughts/comments/pointers would be useful! thanks! -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
    
Take a look at Zend_Acl
If your needs are bigger than a simple user/group access schema as you describe, then I would suggest considering LDAP. PHP has support for it although I haven't wrote something using this API. I have been using it to authenticate my users some years ago an it is quite fast and rich. You certainly have a tree since LDAP is a directory although AFAIK it is slower when writing if you compare it with a database but much faster when reading data. So in case your users' info are changing very often then this is probably not the best solution for you but in any other case try to see if it fits your needs. http://gr2.php.net/manual/en/intro.ldap.php -- Thodoris

« previous php.general (#283339) next »