-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Tarek Ziadé wrote:
> On Thu, May 8, 2008 at 7:52 PM, Tres Seaver <[EMAIL PROTECTED]> wrote:
>> [cut]
>>
>> I don't think we know enough yet to do a good job of writing a similar
>> framework for *managing* users atop a n arbitrary set of user / group /
>> role / property stores.  Lots of "partial solutions" (i.e., applications
>> which work fine against a given set of plugins) exist, certainly, but
>> the APIs used by those applications don't show a lot of commonality.
> 
>> I would like to see somebody ship a separate package which supplied the
>> UI for configuring the "stock" PAS components from somewhere besides the
>> ZMI view.  Such an application could work by defining marker interfaces
>> for the "CRUD"-able plugins, and supplying adapters for the "stock"
>> plugins, or it could just register views directly for those plugins.
> 
> Mmm, what about having an abstract plugin for user managment
> (BaseUserManager for example)
> that would group all user managment events.
> 
> IUserRemoverPlugin, IUserAdderPlugin, etc.., then make plugins like
> ZODBUserManager uses it,

Again, I would be fine with having this stuff sit in a layer *above* the
PAS core:  that package could then apply the interfaces it knows about
to the underlying plugin classes (or instances), without adding
depenedencies / coupling for applications where CRUD is inappropriate or
impossible.

> This would be enough for third-party code to get notified when a user
> is removed,  imho (which is a common need)

As part of that notional application, publishing such an event would be
sensible.


Tres.
- --
===================================================================
Tres Seaver          +1 540-429-0999          [EMAIL PROTECTED]
Palladion Software   "Excellence by Design"    http://palladion.com
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFII08A+gerLs4ltQ4RAvPOAJ9In6b7nzpFiPvtXuDlo3o7HPp6mgCgwGS4
RTYoPYpn0BDxOBmTYU1dXYE=
=0dr9
-----END PGP SIGNATURE-----
_______________________________________________
Zope-PAS mailing list
Zope-PAS@zope.org
http://mail.zope.org/mailman/listinfo/zope-pas

Reply via email to