mirror of
https://github.com/odoo/runbot.git
synced 2025-04-07 10:50:52 +07:00

Implements the public model mixin for `runbot.bundle` and make enough fields public to be able to render the runbot homepage.
1.8 KiB
1.8 KiB
1 | id | name | model_id/id | groups/id | domain_force | perm_read | perm_create | perm_write | perm_unlink |
---|---|---|---|---|---|---|---|---|---|
2 | rule_project | limited to groups | model_runbot_project | group_user | ['|', ('group_ids', '=', False), ('group_ids', 'in', [g.id for g in user.groups_id])] | 1 | 1 | 1 | 1 |
3 | rule_project_mgmt | manager can see all | model_runbot_project | group_runbot_admin | [(1, '=', 1)] | 1 | 1 | 1 | 1 |
4 | rule_repo | limited to groups | model_runbot_repo | group_user | ['|', ('project_id.group_ids', '=', False), ('project_id.group_ids', 'in', [g.id for g in user.groups_id])] | 1 | 1 | 1 | 1 |
5 | rule_repo_mgmt | manager can see all | model_runbot_repo | group_runbot_admin | [(1, '=', 1)] | 1 | 1 | 1 | 1 |
6 | rule_branch | limited to groups | model_runbot_branch | group_user | ['|', ('remote_id.repo_id.project_id.group_ids', '=', False), ('remote_id.repo_id.project_id.group_ids', 'in', [g.id for g in user.groups_id])] | 1 | 1 | 1 | 1 |
7 | rule_branch_mgmt | manager can see all | model_runbot_branch | group_runbot_admin | [(1, '=', 1)] | 1 | 1 | 1 | 1 |
8 | rule_commit | limited to groups | model_runbot_commit | group_user | ['|', ('repo_id.project_id.group_ids', '=', False), ('repo_id.project_id.group_ids', 'in', [g.id for g in user.groups_id])] | 1 | 1 | 1 | 1 |
9 | rule_commit_mgmt | manager can see all | model_runbot_commit | group_runbot_admin | [(1, '=', 1)] | 1 | 1 | 1 | 1 |
10 | rule_build | limited to groups | model_runbot_build | group_user | ['|', ('params_id.project_id.group_ids', '=', False), ('params_id.project_id.group_ids', 'in', [g.id for g in user.groups_id])] | 1 | 1 | 1 | 1 |
11 | rule_build_mgmt | manager can see all | model_runbot_build | group_runbot_admin | [(1, '=', 1)] | 1 | 1 | 1 | 1 |
12 | rule_batch | limited to groups | model_runbot_batch | group_user | ['|', ('bundle_id.project_id.group_ids', '=', False), ('bundle_id.project_id.group_ids', 'in', [g.id for g in user.groups_id])] | 1 | 1 | 1 | 1 |
13 | rule_batch_mgmt | manager can see all | model_runbot_batch | group_runbot_admin | [(1, '=', 1)] | 1 | 1 | 1 | 1 |