Discussion:
[Zope-PAS] SVN: Products.PluggableAuthService/trunk/Products/PluggableAuthService/interfaces/plugins.py Clarify comment in doAddUser interface.
Tres Seaver
2012-12-28 15:38:32 UTC
Permalink
Log message for revision 128925: Clarify comment in doAddUser
interface.
The login argument is used as user id as well.
I don't agree with that assertion as part of the contract: it is in
implemenataion detail of ZODBUserManager. A SQL-based user manager
plugin might use auto-generated primary keys as user IDs, for instance.



Tres.
- --
===================================================================
Tres Seaver +1 540-429-0999 tseaver at palladion.com
Palladion Software "Excellence by Design" http://palladion.com
Maurits van Rees
2012-12-28 15:43:32 UTC
Permalink
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Log message for revision 128925: Clarify comment in doAddUser
interface.
The login argument is used as user id as well.
I don't agree with that assertion as part of the contract: it is in
implemenataion detail of ZODBUserManager. A SQL-based user manager
plugin might use auto-generated primary keys as user IDs, for instance.
Ah, true. I will clarify it more.
--
Maurits van Rees: http://maurits.vanrees.org/
Zest Software: http://zestsoftware.nl
Loading...