Commit 0b8a4e16 authored by Mohamadou Mbengue's avatar Mohamadou Mbengue

2010-07-04 mohamadou

* clean scripts

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@36832 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 33ad6587
......@@ -53,8 +53,7 @@
</item>
<item>
<key> <string>_body</string> </key>
<value> <string>if None not in (procedure_object, user_name, role_name_list) and \\\n
\'\' not in (procedure_object, user_name, role_name_list):\n
<value> <string>if None not in (procedure_object, user_name, role_name_list):\n
procedure_object.manage_addLocalRoles(user_name, role_name_list)\n
</string> </value>
</item>
......
......@@ -77,20 +77,6 @@ return (\n
(\'ERP5Type_getSecurityCategoryFromAssignmentStrict\', [\'publication_section\', \'role\', ] ),\n
\n
)\n
\n
\n
\n
return (\n
# This one combines function, type of procedure and destination to generate a security group\n
(\'ERP5Type_getSecurityCategoryFromAssignmentStrict\', [\'function\', \'publication_section\', \'destination\'] ),\n
# This one is the usual group and function security\n
(\'ERP5Type_getSecurityCategoryFromAssignmentStrict\', [\'function\', \'group\',] ),\n
# This one is the usual group, function and site security, needed if access rights depend on site\n
(\'ERP5Type_getSecurityCategoryFromAssignmentStrict\', [\'function\', \'group\', \'site\'] ),\n
# This one is the usual group security\n
(\'ERP5Type_getSecurityCategoryFromAssignmentStrict\', [\'group\'] ),\n
(\'ERP5Type_getSecurityCategoryRoot\', [\'group\']),\n
)\n
</string> </value>
</item>
<item>
......
678
\ No newline at end of file
679
\ No newline at end of file
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment