[Erp5-report] r29658 - in /erp5/trunk/products: ERP5/bootstrap/erp5_core/ActionTemplateItem...
nobody at svn.erp5.org
nobody at svn.erp5.org
Wed Oct 14 19:33:01 CEST 2009
Author: jm
Date: Wed Oct 14 19:33:00 2009
New Revision: 29658
URL: http://svn.erp5.org?rev=29658&view=rev
Log:
Set 'Modify portal content' instead of 'View' for 'update_local_roles' action
Modified:
erp5/trunk/products/ERP5/bootstrap/erp5_core/ActionTemplateItem/portal_types/Base%20Type/update_local_roles.xml
erp5/trunk/products/ERP5/bootstrap/erp5_core/bt/revision
erp5/trunk/products/ERP5Type/ERP5Type.py
Modified: erp5/trunk/products/ERP5/bootstrap/erp5_core/ActionTemplateItem/portal_types/Base%20Type/update_local_roles.xml
URL: http://svn.erp5.org/erp5/trunk/products/ERP5/bootstrap/erp5_core/ActionTemplateItem/portal_types/Base%2520Type/update_local_roles.xml?rev=29658&r1=29657&r2=29658&view=diff
==============================================================================
--- erp5/trunk/products/ERP5/bootstrap/erp5_core/ActionTemplateItem/portal_types/Base%20Type/update_local_roles.xml [utf8] (original)
+++ erp5/trunk/products/ERP5/bootstrap/erp5_core/ActionTemplateItem/portal_types/Base%20Type/update_local_roles.xml [utf8] Wed Oct 14 19:33:00 2009
@@ -49,7 +49,7 @@
<key> <string>permissions</string> </key>
<value>
<tuple>
- <string>View</string>
+ <string>Modify portal content</string>
</tuple>
</value>
</item>
Modified: erp5/trunk/products/ERP5/bootstrap/erp5_core/bt/revision
URL: http://svn.erp5.org/erp5/trunk/products/ERP5/bootstrap/erp5_core/bt/revision?rev=29658&r1=29657&r2=29658&view=diff
==============================================================================
--- erp5/trunk/products/ERP5/bootstrap/erp5_core/bt/revision [utf8] (original)
+++ erp5/trunk/products/ERP5/bootstrap/erp5_core/bt/revision [utf8] Wed Oct 14 19:33:00 2009
@@ -1,1 +1,1 @@
-1332
+1333
Modified: erp5/trunk/products/ERP5Type/ERP5Type.py
URL: http://svn.erp5.org/erp5/trunk/products/ERP5Type/ERP5Type.py?rev=29658&r1=29657&r2=29658&view=diff
==============================================================================
--- erp5/trunk/products/ERP5Type/ERP5Type.py [utf8] (original)
+++ erp5/trunk/products/ERP5Type/ERP5Type.py [utf8] Wed Oct 14 19:33:00 2009
@@ -159,7 +159,8 @@
"""Return all Role Information objects stored on this portal type"""
return self.objectValues(meta_type='ERP5 Role Information')
- security.declareProtected(Permissions.View, 'updateRoleMapping')
+ security.declareProtected(Permissions.ModifyPortalContent,
+ 'updateRoleMapping')
def updateRoleMapping(self, REQUEST=None, form_id=''):
"""Update the local roles in existing objects.
XXX This should be implemented the same way as
More information about the Erp5-report
mailing list