Commit d6af2990 authored by Fabien Morin's avatar Fabien Morin

- add StandardSecurity extension file

- add an external method ERP5Type_getSecurityCategoryFromEntity
- change the script ERP5Type_getSecurityCategoryMapping
All of this permit to handle 'group' 'site' 'function' base categories in
security group creation. This also make the testPSJ pass because there were
all broken because of this.

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@22830 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent afcbff4e
<?xml version="1.0"?>
<ZopeData>
<record id="1" aka="AAAAAAAAAAE=">
<pickle>
<tuple>
<global name="ExternalMethod" module="Products.ExternalMethod.ExternalMethod"/>
<tuple/>
</tuple>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>__ac_local_roles__</string> </key>
<value>
<none/>
</value>
</item>
<item>
<key> <string>_function</string> </key>
<value> <string>getSecurityCategoryFromEntity</string> </value>
</item>
<item>
<key> <string>_module</string> </key>
<value> <string>StandardSecurity</string> </value>
</item>
<item>
<key> <string>id</string> </key>
<value> <string>ERP5Type_getSecurityCategoryFromEntity</string> </value>
</item>
<item>
<key> <string>title</string> </key>
<value> <string></string> </value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
......@@ -66,8 +66,20 @@
<item>
<key> <string>_body</string> </key>
<value> <string>return (\n
(\'ERP5Type_getSecurityCategoryFromAssignment\', [\'function\'] ),\n
(\'ERP5Type_getSecurityCategoryFromAssignment\', [\'function\', \'group\'] ),\n
(\'ERP5Type_getSecurityCategoryFromEntity\', [\'role\'] ),\n
(\'ERP5Type_getSecurityCategoryFromAssignment\', [\'function\'] ),\n
(\'ERP5Type_getSecurityCategoryFromAssignment\', [\'group\'] ),\n
(\'ERP5Type_getSecurityCategoryFromAssignmentParent\', [\'group\'] ),\n
(\'ERP5Type_getSecurityCategoryFromAssignmentParent\', [\'role\'] ),\n
(\'ERP5Type_getSecurityCategoryFromAssignmentParentGroup\', [\'group\', \'function\', \'site\'] ),\n
(\'ERP5Type_getSecurityCategoryFromAssignment\', [\'group\', \'function\', \'site\'] ),\n
)\n
\n
\n
\n
return (\n
(\'ERP5Type_getSecurityCategoryFromAssignment\', [\'function\'] ),\n
(\'ERP5Type_getSecurityCategoryFromAssignment\', [\'function\', \'group\'] ),\n
)\n
</string> </value>
</item>
......
817
\ No newline at end of file
822
\ No newline at end of file
PdftkUtils
CupsUtils
\ No newline at end of file
CupsUtils
StandardSecurity
\ 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