Commit b388e4b2 authored by Mayoro Diagne's avatar Mayoro Diagne

2010-06-16 mayoro

* modify script ERP5Type_getSecurityCategoryMapping to to generate right categories for security

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@36436 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 55e85600
...@@ -56,17 +56,23 @@ ...@@ -56,17 +56,23 @@
<value> <string>"""\n <value> <string>"""\n
Understand this and make it suit your needs\n Understand this and make it suit your needs\n
"""\n """\n
\n
return (\n return (\n
# This one combines function, type of procedure and destination to generate a security group\n # This one combines function, type of procedure and destination to generate a security group\n
(\'ERP5Type_getSecurityCategoryFromAssignmentStrict\', [\'function\', \'publication_section\', \'destination\'] ),\n (\'ERP5Type_getSecurityCategoryFromAssignmentStrict\', [\'function\', \'publication_section\', \'destination\'] ),\n
# This one is the usual group and function security\n # This one is the usual group and function security\n
(\'ERP5Type_getSecurityCategoryFromAssignmentStrict\', [\'function\', \'group\',] ),\n (\'ERP5Type_getSecurityCategoryFromAssignmentStrict\', [\'function\', \'group\',] ),\n
(\'ERP5Type_getSecurityCategoryFromAssignmentParent\', [\'group\', \'function\', ]),\n
# This one is the usual group, function and site security, needed if access rights depend on site\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 (\'ERP5Type_getSecurityCategoryFromAssignmentStrict\', [\'function\', \'group\', \'site\'] ),\n
# This one is the usual group security\n # This one is the usual group security\n
(\'ERP5Type_getSecurityCategoryFromAssignmentStrict\', [\'group\'] ),\n (\'ERP5Type_getSecurityCategoryFromAssignmentStrict\', [\'group\'] ),\n
(\'ERP5Type_getSecurityCategoryRoot\', [\'group\']),\n (\'ERP5Type_getSecurityCategoryFromAssignmentParent\', [\'group\'] ),\n
#(\'ERP5Type_getSecurityCategoryRoot\', [\'group\']),\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
\n
)\n )\n
</string> </value> </string> </value>
</item> </item>
......
2010-06-16 mayoro
* modify script ERP5Type_getSecurityCategoryMapping to to generate right categories for security
2010-06-16 mayoro 2010-06-16 mayoro
* use proxifield for listbox in Folder_viewEgovContentList * use proxifield for listbox in Folder_viewEgovContentList
......
535 540
\ No newline at end of file \ 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