[Zope-CVS] SVN: PluggableAuthService/trunk/ - Repaired warings appearing in Zope 2.8.5 due to a couple typos

Jens Vagelpohl jens at dataflake.org
Sat Dec 17 08:26:26 EST 2005


Log message for revision 40845:
  - Repaired warings appearing in Zope 2.8.5 due to a couple typos
    in security declarations.
  

Changed:
  U   PluggableAuthService/trunk/doc/CHANGES.txt
  U   PluggableAuthService/trunk/plugins/ZODBRoleManager.py

-=-
Modified: PluggableAuthService/trunk/doc/CHANGES.txt
===================================================================
--- PluggableAuthService/trunk/doc/CHANGES.txt	2005-12-17 12:28:23 UTC (rev 40844)
+++ PluggableAuthService/trunk/doc/CHANGES.txt	2005-12-17 13:26:25 UTC (rev 40845)
@@ -17,6 +17,9 @@
 
     Bugs Fixed
 
+      - Repaired warings appearing in Zope 2.8.5 due to a couple typos
+        in security declarations.
+
       - Repaired DeprecationWarnings due to use of Zope2 interface verification.
 
       - Repaired unit test breakage (unittest.TestCase instances have

Modified: PluggableAuthService/trunk/plugins/ZODBRoleManager.py
===================================================================
--- PluggableAuthService/trunk/plugins/ZODBRoleManager.py	2005-12-17 12:28:23 UTC (rev 40844)
+++ PluggableAuthService/trunk/plugins/ZODBRoleManager.py	2005-12-17 13:26:25 UTC (rev 40845)
@@ -371,7 +371,7 @@
                          % ( self.absolute_url(), role_id, message )
                          )
 
-    security.declareProtected( ManageUsers, 'manage_removeRole' )
+    security.declareProtected( ManageUsers, 'manage_removeRoles' )
     def manage_removeRoles( self
                           , role_ids
                           , RESPONSE
@@ -394,7 +394,7 @@
                          % ( self.absolute_url(), message )
                          )
 
-    security.declareProtected( ManageUsers, 'manage_assignRoleToPrincipal' )
+    security.declareProtected( ManageUsers, 'manage_assignRoleToPrincipals' )
     def manage_assignRoleToPrincipals( self
                                      , role_id
                                      , principal_ids



More information about the Zope-CVS mailing list