[Zope-PAS] Re: PluggableAuthService and PrincipalDeleted

Tres Seaver tseaver at palladion.com
Thu May 8 15:05:36 EDT 2008

Hash: SHA1

Tarek Ziadé wrote:
> On Thu, May 8, 2008 at 7:52 PM, Tres Seaver <tseaver at palladion.com> 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

> 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

- --
Tres Seaver          +1 540-429-0999          tseaver at palladion.com
Palladion Software   "Excellence by Design"    http://palladion.com
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org


More information about the Zope-PAS mailing list