RE: [PEAR-DEV] [rfc] permissions managment
| From: | Lukas Smith | Date: | Tue, 13 Aug 2002 19:10:08 +0000 |
| Subject: | RE: [PEAR-DEV] [rfc] permissions managment | ||
| References: | 1 | Groups: | php.pear.dev |
| Request: | Send a blank email to pear-dev+get-8395@lists.php.net to get a copy of this message | ||
> -----Original Message-----
> From: Arnaud Limbourg [mailto:arnaud.limbourg@club-internet.fr]
> Sent: Tuesday, August 13, 2002 8:56 PM
> To: pear-dev@lists.php.net
> Subject: Re: [PEAR-DEV] [rfc] permissions managment
>
> > You´re right if you´re talking pure authentication - if there´s a
good
> > package, which PEAR::Auth seems to be, there´s not very much reason
for
> > a second one, except perhaps for taste.
>
> Exactly ;)
>
> > Regarding authorisation, I see room for at least two packages: A
complex
> > one with all the options that LiveUser provides, and a very simple
one,
> > like the PHPLib-style permission class. Lukas has plans for
separating
> > the LiveUser package into three levels of complexity, which I guess
I
> > don´t fully understand at this point.
>
> Who understands Lukas anyway ? ;)))))
>
Checking my todo list I see:
- admin types
Person/User/Admin*: only has the right specifically given to him
Moduladmin: all the right of an Administrator plus he can do
anything within the modules he is assigned to as Moduladmin
Superadmin: can do anything a Moduladmin can do for all Modules
Masteradmin: can do anything
So we will end up with the following types:
Person
User
Admin
Moduladmin
Superadmin
Masteradmin
I will try and see if I can make this extensible, so that you can add
any type you want. The above types will have the special meanings as you
can see above.
This is basically the simple system that was talked about earlier .. and
I think that is pretty much what phplib does (atleast last time I looked
at years ago)?
Regards,
Lukas