diff options
| author | stephanchrst <stephanchrst@gmail.com> | 2022-05-10 21:51:50 +0700 |
|---|---|---|
| committer | stephanchrst <stephanchrst@gmail.com> | 2022-05-10 21:51:50 +0700 |
| commit | 3751379f1e9a4c215fb6eb898b4ccc67659b9ace (patch) | |
| tree | a44932296ef4a9b71d5f010906253d8c53727726 /addons/hr_gamification/security | |
| parent | 0a15094050bfde69a06d6eff798e9a8ddf2b8c21 (diff) | |
initial commit 2
Diffstat (limited to 'addons/hr_gamification/security')
| -rw-r--r-- | addons/hr_gamification/security/gamification_security.xml | 8 | ||||
| -rw-r--r-- | addons/hr_gamification/security/ir.model.access.csv | 5 |
2 files changed, 13 insertions, 0 deletions
diff --git a/addons/hr_gamification/security/gamification_security.xml b/addons/hr_gamification/security/gamification_security.xml new file mode 100644 index 00000000..9c210e1d --- /dev/null +++ b/addons/hr_gamification/security/gamification_security.xml @@ -0,0 +1,8 @@ +<?xml version="1.0" encoding="UTF-8"?> +<odoo noupdate="1"> + + <record id="gamification.goal_gamification_manager_visibility" model="ir.rule"> + <field name="groups" eval="[(4, ref('hr.group_hr_user'))]"/> + </record> + +</odoo> diff --git a/addons/hr_gamification/security/ir.model.access.csv b/addons/hr_gamification/security/ir.model.access.csv new file mode 100644 index 00000000..78979d89 --- /dev/null +++ b/addons/hr_gamification/security/ir.model.access.csv @@ -0,0 +1,5 @@ +id,name,model_id:id,group_id:id,perm_read,perm_write,perm_create,perm_unlink +challenge_officer,"Challenge Officer",gamification.model_gamification_challenge,hr.group_hr_user,1,1,1,1 +challenge_line_officer,"Challenge Line Officer",gamification.model_gamification_challenge_line,hr.group_hr_user,1,1,1,1 +badge_officer,"Badge Officer",gamification.model_gamification_badge,hr.group_hr_user,1,1,1,1 +badge_user_officer,"Badge-user Officer",gamification.model_gamification_badge_user,hr.group_hr_user,1,1,1,1 |
