[Erp5-report] r10548 - /erp5/trunk/products/ERP5Type/Base.py

nobody at svn.erp5.org nobody at svn.erp5.org
Wed Oct 4 20:27:30 CEST 2006


Author: jerome
Date: Wed Oct  4 20:27:27 2006
New Revision: 10548

URL: http://svn.erp5.org?rev=10548&view=rev
Log:
note that assignRoleToSecurityGroup is deprecated

Modified:
    erp5/trunk/products/ERP5Type/Base.py

Modified: erp5/trunk/products/ERP5Type/Base.py
URL: http://svn.erp5.org/erp5/trunk/products/ERP5Type/Base.py?rev=10548&r1=10547&r2=10548&view=diff
==============================================================================
--- erp5/trunk/products/ERP5Type/Base.py (original)
+++ erp5/trunk/products/ERP5Type/Base.py Wed Oct  4 20:27:27 2006
@@ -2334,7 +2334,6 @@
         return None
     return None
 
-
   security.declareProtected(Permissions.ChangeLocalRoles,
                             'updateLocalRolesOnSecurityGroups')
   def updateLocalRolesOnSecurityGroups(self, **kw):
@@ -2347,8 +2346,8 @@
   security.declareProtected(Permissions.ModifyPortalContent,
                             'assignRoleToSecurityGroup')
   def assignRoleToSecurityGroup(self, **kw):
-    """This is basically the same as `updateLocalRolesOnSecurityGroups`, but
-    with a different permission.
+    """DEPRECATED. This is basically the same as
+    `updateLocalRolesOnSecurityGroups`, but with a different permission.
     """
     warnings.warn('assignRoleToSecurityGroup is a deprecated alias to '
                   'updateLocalRolesOnSecurityGroups. Please note that the '




More information about the Erp5-report mailing list