Commit c2975d2a authored by Jean-Paul Smets's avatar Jean-Paul Smets

New security function (function* + group strict)

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@16572 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 499bd101
...@@ -96,3 +96,9 @@ def getSecurityCategoryFromAssignmentParentGroup(self, base_category_list, ...@@ -96,3 +96,9 @@ def getSecurityCategoryFromAssignmentParentGroup(self, base_category_list,
user_name, object, portal_type): user_name, object, portal_type):
return getSecurityCategoryFromAssignment(self, base_category_list, return getSecurityCategoryFromAssignment(self, base_category_list,
user_name, object, portal_type, child_category_list=('group',)) user_name, object, portal_type, child_category_list=('group',))
def getSecurityCategoryFromAssignmentParentFunction(self, base_category_list,
user_name, object, portal_type):
return getSecurityCategoryFromAssignment(self, base_category_list,
user_name, object, portal_type, child_category_list=('function',))
<?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>getSecurityCategoryFromAssignmentParentFunction</string> </value>
</item>
<item>
<key> <string>_module</string> </key>
<value> <string>StandardSecurity</string> </value>
</item>
<item>
<key> <string>_owner</string> </key>
<value>
<none/>
</value>
</item>
<item>
<key> <string>id</string> </key>
<value> <string>ERP5Type_getSecurityCategoryFromAssignmentParentFunction</string> </value>
</item>
<item>
<key> <string>title</string> </key>
<value> <string></string> </value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
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