RE: [PEAR] Auth and permissions

From: Date: Thu, 15 May 2003 05:00:57 +0000
Subject: RE: [PEAR] Auth and permissions
References: 1  Groups: php.pear.general 
Request: Send a blank email to pear-general+get-5377@lists.php.net to get a copy of this message
Hi Marco! LiveUser can provide all the stuff you need. If I got you right, you want a auth/perm management like in PHPLib (I used this nice group names too :) Take a look at our current release. The auth container works like PEAR::Auth, there isn't that much difference. As perm container you should use DB_Simple (assign rights for each user) or DB_Medium (if you want to manage your users in groups). This containers have no right inheritance, so you'll be able to understand them quickly. Regards Bjoern > -----Original Message----- > From: pear-general-return-5359-bjoernkraus=web.de@lists.php.net > [mailto:pear-general-return-5359-bjoernkraus=web.de@lists.php.net]On > Behalf Of Marco Schuler > Sent: Tuesday, May 13, 2003 9:25 PM > To: pear-general@lists.php.net > Subject: [PEAR] Auth and permissions > > > Hi all > > I am quite new in using PEAR packages and OO-programming. I am delighted > how "easy" development is by using PEAR classes. > > Right now I am implementing a website where I need some kind of > authentication. Not hard to do with help of the auth-package. My problem > that came up during the last hours is that I need permissions to access > cetain pages. Lets say I want to have five different levels of > permissions like "user", "author", "editor", > "supervisor" and "admin". A > nice to have feature would be inclusive permissions. > > As I figured out, PEAR Auth does not provide this functionality. I also > read about LiveUser. Seems to satisfy my wishes and a lot more, but I > think it is to complicated for just implementing my "simple" permission > scheme, and the documentation is not such an advanced state for a newbie > to get started. > > I'd like to ask if somebody ever has extended PEAR Auth to satisfy my > requirements. I would be glad to just get some tips of you out there how > you would face my "problem". If somebody would be so kind to provide me > an extended class, that would allow me to go out tonight to have a beer > maybe ;-) > > Thanks anyway > > -- > Cheers > Marco > > > > > -- > PEAR General Mailing List (http://pear.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > >

« previous php.pear.general (#5377) next »