Re: Re: PEAR Forum

From: Date: Tue, 25 Sep 2001 14:32:13 +0000
Subject: Re: Re: PEAR Forum
References: 1 2 3  Groups: php.pear.dev 
Request: Send a blank email to pear-dev+get-2026@lists.php.net to get a copy of this message
On Tuesday 25 September 2001 14:50, Luc Saint-Elie wrote: > En réponse à "Tomas V.V.Cox" <cox@idecnet.com>: > > Do you provide a system to integrate the forum users into existing > > users tables? > > What (as a user) I'd love to see in PEAR would be a basic user > management scheme. On the top of this user management scheme I could > place forums or other applications, but in the same way I have a > unified BD access methodology I'd love to have a unified user data > access methodology > That is a good idea. The system created by Stig to pear.php.net has most of this things: HTTP auth and access to the user properties with a DB_storage object. We have also the Auth class from Martin, therefore mix both things doesn't seem to be very difficult. We could get something like: <?php $user = User::init(); if (!$user->req_auth('admin')) { die(); } echo "Hello " . $user->name; $user->remove(); ?> I can see some problems like how to handle user dependencies with other tables or how to implement ACLs. Tomas V.V.Cox

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