Commit dacfffdc authored by Mohamadou Mbengue's avatar Mohamadou Mbengue

2010-06-23 mohamadou

* update ERP5Type_getSecurityCategoryMapping because the Hosting Request Form security generator uses publication_section, role and other standar categories

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@36531 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 93a7c56e
......@@ -56,6 +56,29 @@
<value> <string>"""\n
Understand this and make it suit your needs\n
"""\n
return (\n
# This one combines function, type of procedure and destination to generate a security group\n
(\'ERP5Type_getSecurityCategoryFromAssignmentStrict\', [\'destination\', \'function\', \'publication_section\', ] ),\n
# This one is the usual group and function security\n
(\'ERP5Type_getSecurityCategoryFromAssignmentStrict\', [\'function\', \'group\',] ),\n
(\'ERP5Type_getSecurityCategoryFromAssignmentParent\', [\'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_getSecurityCategoryFromAssignmentParent\', [\'group\',] ),\n
\n
# This one is the usual function security\n
(\'ERP5Type_getSecurityCategoryFromAssignment\', [\'function\'] ),\n
# This one is the usual role security\n
(\'ERP5Type_getSecurityCategoryFromEntity\', [\'role\'] ),\n
(\'ERP5Type_getSecurityCategoryFromAssignmentStrict\', [\'role\', ]),\n
# This one combines role and publication_section\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
......
595
\ No newline at end of file
596
\ 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