RE: [PEAR] Auth and permissions

From: Date: Fri, 16 May 2003 09:58:52 +0000
Subject: RE: [PEAR] Auth and permissions
References: 1  Groups: php.pear.general 
Request: Send a blank email to pear-general+get-5403@lists.php.net to get a copy of this message
Am Fre, 2003-05-16 um 11.38 schrieb LIMBOURG Arnaud: > > Yes, you are right. LiveUser would actually provide me the > > functionality > > that I need. I tried to figure out how it works the last two days (by > > the way, I am a PEAR newbie). It seems to me that there is some useful > > methodes that do not exist so far (maybe they are planed to be > > implemented one day) such as inserting a new user. > > Actually there is. Have a look at DB_Complex_Admin, inderting a new user is > considered administration work and should not be found in the main class, it > would clutter the API for something you don't use quite often. Ok, I did not have a look at DB_Complex so far. I wanted to start with an easy example. I'll check this out. > > > For my needs a permisson container DB_Simple would be sufficient. But > > there is no consistent tutorial on this topic (or couldn't I find it?) > > There is one being written. Join the liveuser list > liveuser@lists.21st-hq.de. Some docs can be found at > projects.21st-hq.de/liveuser/ Thank you for the tip. Subscription done. > > > So, I would be glad I someone who uses LiveUser could provide > > me a code > > snippet taht shows me how to protect my site with authentication and > > check if the user has rights to access a certain page. Also I > > would like > > to have an example of how to insert a new member into the > > database. If I > > am right, there should be an interface within the container to do so > > (Could not find it too). > > Have alook at the draft tutorial. A sample application will be put online in > the next weeks to show what it does and the code that does it. Great! Hurry up! Just kidding :-) > > > If nobody is using LiveUser yet, I would be glad to get some > > advices on > > other classes that you use to provide the desired functionality. > > For permissions there was a talk on Enterprise A&A, i don't know where it > stands though. There is also phpacl or something like that. > Thank you for your tip Marco > HTH > > Arnaud.

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