Commit c78abd4a authored by Romain Courteaud's avatar Romain Courteaud

slapos_erp5: give user security group based on function (to access some...

slapos_erp5: give user security group based on function (to access some module) and project/function (to access documents)
parent a130c58f
......@@ -8,9 +8,12 @@ deprecated ERP5Type_asSecurityGroupIdList
return (
# Person security
('ERP5Type_getSecurityCategoryFromAssignment', ['function']),
('ERP5Type_getSecurityCategoryFromAssignment', ['group']),
('ERP5Type_getSecurityCategoryFromAssignment', ['role']),
# XXX TODO check that only validated project are used
('ERP5Type_getSecurityCategoryFromAssignment', ['destination_project']),
('ERP5Type_getSecurityCategoryFromAssignment', ['destination_project', 'function']),
('ERP5Type_getSecurityCategoryFromAssignmentDestinationClientOrganisation', ['destination']),
# Compute Node security
......
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