diff --git a/addons/cetmix_tower_git/security/cx_tower_git_project_security.xml b/addons/cetmix_tower_git/security/cx_tower_git_project_security.xml new file mode 100644 index 0000000..2149081 --- /dev/null +++ b/addons/cetmix_tower_git/security/cx_tower_git_project_security.xml @@ -0,0 +1,67 @@ + + + + + + Git Project: Manager Read Access + + ['|', ('user_ids', 'in', [user.id]), ('manager_ids', 'in', [user.id])] + + + + + + + + + + Git Project: Manager Read Access via Server + + ['|', + ('server_ids.user_ids', 'in', [user.id]), + ('server_ids.manager_ids', 'in', [user.id])] + + + + + + + + + + Git Project: Manager Write Access + + [('manager_ids', 'in', [user.id])] + + + + + + + + + + Git Project: Manager Delete Access + + [('manager_ids', 'in', [user.id]), ('create_uid', '=', user.id)] + + + + + + + + + + Git Project: Root Full Access + + [(1, '=', 1)] + + + + +