Commit 817c457f authored by Gabriel Monnerat's avatar Gabriel Monnerat

Added a security policy which is able to combine parent (for group and...

Added a security policy which is able to combine parent (for group and function) plus strict base category. It can be useful to generate groups as function* + group* + site, for example.
parent b307e4c4
......@@ -103,3 +103,7 @@ def getSecurityCategoryFromAssignmentParentFunction(self, base_category_list,
return getSecurityCategoryFromAssignment(self, base_category_list,
user_name, object, portal_type, child_category_list=('function',))
def getSecurityCategoryFromAssignmentParentFunctionParentGroup(self, base_category_list,
user_name, object, portal_type):
return getSecurityCategoryFromAssignment(self, base_category_list,
user_name, object, portal_type, child_category_list=('function', 'group'))
41170
\ No newline at end of file
41171
\ 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