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

Miles wrote:

> It would be great if PAS supported deleting users, with the same 
> event-based system for notifying other plugins to tidy up.

I've never been happy with the idea of PAS "supporting" any changes to
the plugins:  even the IUserAdderPlugin and IUpdatePlugin are out of
place, in my opinion, because they try to generalize without knowing
enough:  they exist to support a not-really-a-contract of the "stock"
Zope user folder ('_doAddUser').

CRUD on the user objects is really a separate application (*not* a
framework), which is not even possible in many applications where PAS is
appropriate.

> IMHO, adding a new interface for deletion rather than renaming the 
> existing one is better - there's no guarantee existing plugins implement 
> the new interface, so it could break things.
> 
> On the point of mutable users and groups, I've looked into that in the 
> past for some applications here, in order to make PAS-based user 
> implement the CMF IMember interface.  Happy to share code or collaborate 
> if it's of interest.
> 
> IIRC, I got a bit confused when it came to password resets, as to 
> whether a password was considered a user property or as something else - 
> passwords are passed to the UserManager at creation so should they go to 
> the PropertyUpdater too?

Passwords are *not* properties:  plugis implementing IUpdatePlugin
should not know about them, unless they are also actively registered for
ICredentialsUpdatePlugin.


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

iD8DBQFIIHxc+gerLs4ltQ4RAqxlAJ4g3X9FANphYDNXu0d4sx8h6+39mACgylnH
wik1Uu+I/r8lBN7+Xu/z914=
=qQKp
-----END PGP SIGNATURE-----

_______________________________________________
Zope-PAS mailing list
Zope-PAS@zope.org
http://mail.zope.org/mailman/listinfo/zope-pas

Reply via email to