diff --git a/addons/cetmix_tower_git/security/cx_tower_git_project_file_template_rel_security.xml b/addons/cetmix_tower_git/security/cx_tower_git_project_file_template_rel_security.xml new file mode 100644 index 0000000..6d4f088 --- /dev/null +++ b/addons/cetmix_tower_git/security/cx_tower_git_project_file_template_rel_security.xml @@ -0,0 +1,49 @@ + + + + + + Git Project File Template Relation: Manager Read Access + + ['&', + '|', + ('git_project_id.user_ids', 'in', [user.id]), + ('git_project_id.manager_ids', 'in', [user.id]), + '|', + ('file_template_id.user_ids', 'in', [user.id]), + ('file_template_id.manager_ids', 'in', [user.id])] + + + + + + + + + + Git Project File Template Relation: Manager Write Access + + [ + ('git_project_id.manager_ids', 'in', [user.id]), + ('file_template_id.manager_ids', 'in', [user.id])] + + + + + + + + + + + Git Project File Template Relation: Root Full Access + + [(1, '=', 1)] + + + +