[Checkins] SVN: Products.PluggableAuthService/trunk/ Garden changelog.
Tres Seaver
cvs-admin at zope.org
Tue Feb 19 16:04:05 UTC 2013
Log message for revision 129460:
Garden changelog.
Changed:
_U Products.PluggableAuthService/trunk/
U Products.PluggableAuthService/trunk/CHANGES.txt
-=-
Modified: Products.PluggableAuthService/trunk/CHANGES.txt
===================================================================
--- Products.PluggableAuthService/trunk/CHANGES.txt 2013-02-19 15:35:32 UTC (rev 129459)
+++ Products.PluggableAuthService/trunk/CHANGES.txt 2013-02-19 16:04:05 UTC (rev 129460)
@@ -4,41 +4,43 @@
1.10.0 (unreleased)
-------------------
-- Added login_transform string property to PAS.
+- Allow specifying a policy for transforming / normalizing login names
+ for all plugins in a PAS:
-- Added applyTransform method to PAS, which looks for a method on PAS
- with the name specified in the login_transform property.
+ - Added ``login_transform`` string property to PAS.
-- Added two possible transforms to PAS: lower and upper.
+ - Added ``applyTransform`` method to PAS, which looks for a method on PAS
+ with the name specified in the ``login_transform`` property.
-- Changed the methods of PAS to call applyTransform wherever needed.
+ - Added two possible transforms to PAS: ``lower`` and ``upper``.
-- Added the existing updateUser method of ZODBUserManager to the
- IUserEnumerationPlugin interface.
+ - Changed the methods of PAS to call ``applyTransform`` wherever needed.
-- Added a new updateEveryLoginName method to ZODBUserManager and the
- IUserEnumerationPlugin interface.
+ - Added the existing ``updateUser`` method of ZODBUserManager to the
+ IUserEnumerationPlugin interface.
-- Added three methods to PAS and IPluggableAuthService:
- updateLoginName, updateOwnLoginName, updateAllLoginNames. These
- methods call updateUser or updateEveryLoginName on every
- IUserEnumerationPlugin. Since these are later additions to the
- plugin interface, we log a warning when a plugin does not have these
- methods (for example the mutable_properties plugin of PlonePAS,
- though I will update that one) but will not fail. When no plugin is
- able to update a user, this will raise an exception: we do not want
- to quietly let this pass when for example a login name is already
- taken by another user.
+ - Added a new ``updateEveryLoginName`` method to ZODBUserManager and the
+ IUserEnumerationPlugin interface.
-- Changing the login_transform property in the ZMI will call
- PAS.updateAllLoginNames. If login_transform is the same or has
- become an empty string, we do not do anything.
+ - Added three methods to PAS and IPluggableAuthService:
+ ``updateLoginName``, ``updateOwnLoginName``, ``updateAllLoginNames``.
+ These methods call ``updateUser`` or ``updateEveryLoginName`` on every
+ IUserEnumerationPlugin. Since these are later additions to the plugin
+ interface, we log a warning when a plugin does not have these methods
+ (for example the ``mutable_properties`` plugin of PlonePAS) but will
+ not fail. When no plugin is able to update a user, this will raise an
+ exception: we do not want to quietly let this pass when for example a
+ login name is already taken by another user.
-- The new login_transform property is empty by default. In that case,
- the behavior of PAS is the same as previously. The various
- applyTransform calls will have a (presumably very small) performance
- impact.
+ - Changing the ``login_transform`` property in the ZMI will call
+ ``PAS.updateAllLoginNames``, unless ``login_transform`` is the same or
+ has become an empty string.
+ - The new ``login_transform`` property is empty by default. In that case,
+ the behavior of PAS is the same as previously. The various
+ ``applyTransform`` calls will have a (presumably very small)
+ performance impact.
+
- Launchpad #1079204: Added CSRF protection for the ZODBUserManager,
ZODBGroupManager, ZODBRoleManger, and DynamicGroupsPlugin plugins.
More information about the checkins
mailing list