diff --git a/addons/cetmix_tower_git/security/cx_tower_git_project_rel_security.xml b/addons/cetmix_tower_git/security/cx_tower_git_project_rel_security.xml new file mode 100644 index 0000000..3365257 --- /dev/null +++ b/addons/cetmix_tower_git/security/cx_tower_git_project_rel_security.xml @@ -0,0 +1,45 @@ + + + + + + Git Project Relation: Manager Read Access + + ['&', + '|', + ('git_project_id.user_ids', 'in', [user.id]), + ('git_project_id.manager_ids', 'in', [user.id]), + '|', + ('server_id.user_ids', 'in', [user.id]), + ('server_id.manager_ids', 'in', [user.id])] + + + + + + + + + + Git Project Relation: Manager Create/Write/Delete Access + + [('git_project_id.manager_ids', 'in', [user.id]), + ('server_id.manager_ids', 'in', [user.id])] + + + + + + + + + + Git Project Relation: Root Full Access + + [(1, '=', 1)] + + + +