Re: [naming] permissions managment
| From: | Markus Wolff | Date: | Wed, 14 Aug 2002 10:18:53 +0000 |
| Subject: | Re: [naming] permissions managment | ||
| References: | 1 2 | Groups: | php.pear.dev |
| Request: | Send a blank email to pear-dev+get-8428@lists.php.net to get a copy of this message | ||
Am Wed, 14 Aug 2002 12:06:53 +0200 schrieb "Lukas Smith" <smith@dybnet.de>:
> > I am against splitting, it just creates confusion. I think we need a
> new
> > category, User, and put LiveUser (or whatever) into it.
> >
>
> uhm ... it needs to be split up.
> Actually its on Markus's todolist to do so.
> And if its not split up I will have to either look elsewhere or maintain
> my stripped version of it.
>
> Anyways: Where is the confusion?
> I want Authentication .. so I look in Auth.
> I want User Management .. so I look in User.
> I want Permissions .. so I look in Perm.
>
> And in each section I find *_LiveUser.
> Do I think this stuff will work together?
> Of course.
Well, ehm, this is not exacly what I have on my todo list.
What I ment there is that I want to split permission management from
user management so that it´s possible to use one storage container (ie.
LDAP) for users and another (ie. MySQL) for ACLs.
However, it was not my intention to make separate packages for all these
small container classes.
Also, if we would split all these classes into separate packages, where
would the LoginManager class fit in? This is one class that brings the
functionality of all the container classes to life and manages what to
use and what not - you´d basically need a whole new category just for
that one class, ´cause it wouldn´t fit anywhere else.
And if I don´t use the LoginManager, I´d have to configure each package
separately in my application to work with the other packages. The ease
of use (three lines of code is enough to get up and running with _all_
the complex features) would be gone.
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