[Erp5-report] r28402 - /erp5/trunk/products/ERP5Security/ERP5GroupManager.py
nobody at svn.erp5.org
nobody at svn.erp5.org
Sun Aug 16 21:13:27 CEST 2009
Author: jm
Date: Sun Aug 16 21:13:26 2009
New Revision: 28402
URL: http://svn.erp5.org?rev=28402&view=rev
Log:
Portal Type Roles: add comment about the last parameter of base category scripts
Modified:
erp5/trunk/products/ERP5Security/ERP5GroupManager.py
Modified: erp5/trunk/products/ERP5Security/ERP5GroupManager.py
URL: http://svn.erp5.org/erp5/trunk/products/ERP5Security/ERP5GroupManager.py?rev=28402&r1=28401&r2=28402&view=diff
==============================================================================
--- erp5/trunk/products/ERP5Security/ERP5GroupManager.py [utf8] (original)
+++ erp5/trunk/products/ERP5Security/ERP5GroupManager.py [utf8] Sun Aug 16 21:13:26 2009
@@ -139,6 +139,10 @@
security_category_list = security_category_dict.setdefault(
base_category_list, [])
try:
+ # The called script may want to distinguish if it is called
+ # from here or from _updateLocalRolesOnSecurityGroups.
+ # Currently, passing portal_type='' (instead of 'Person')
+ # is the only way to make the difference.
security_category_list.extend(
method(base_category_list, user_name, person_object, '')
)
More information about the Erp5-report
mailing list