Re: LiveUser gets installed in a weird ma,nner imho

From: Date: Thu, 10 Oct 2002 10:26:55 +0000
Subject: Re: LiveUser gets installed in a weird ma,nner imho
References: 1  Groups: php.pear.dev 
Request: Send a blank email to pear-dev+get-9984@lists.php.net to get a copy of this message
Am Thu, 10 Oct 2002 11:02:36 +0200 schrieb LIMBOURG Arnaud <arnaud.limbourg@cegetel.fr>: > > > Hi Arnaud, > > > > > > we can of course change the base install directory to > > Auth/Liveuser... > > > but we should do this fast, before someone starts to implement real > > apps > > > with the thing... what do the others here think? > > > > > > > sounds like a good idea > > Personnally i'd go for User/LiveUser, but i could live with Auth/LiveUser. I have no personal preference here, I´ll go for the majority´s decision. > I just started to have a look at liveuser and see how i can use with my > already installed PEAR::Auth code. I must admit i'm kinda lost right now, > any hints on how i can proceed ? a) If you don´t want to use PEAR::Auth itself but want to keep using the existing user database, write a new Liveuser auth container that makes use of the PEAR::Auth database structure. To do that, you can simply copy the existing container and modify the queries accordingly. b) If you want to keep using the PEAR::Auth class for authentication, but want to add permission management via Liveuser, you simply don´t use Liveuser´s LoginManager class, using the permission container class directly instead. All you´d need to do is make sure that there´s an entry in the table "liveuser_perm_users" for each user that is in the PEAR::Auth user table, so the permission container will know about them. Regards, Markus -- *21st Media* | Consulting, Konzeption, Produktion für die Bereiche: Markus Wolff | Internet, Intranet, eCommerce, Content Management, Hamburg,Germany | Softwareentwicklung, 3D-Animation, Videostreaming http://21st.de | Tel. [+49](0)40/6887949-0, Fax: [+49](0)40/6887949-1

« previous php.pear.dev (#9984) next »