Kuldeep Joshi(OpenERP) has proposed merging
lp:~openerp-dev/openobject-addons/trunk-bug-925359-kjo into
lp:openobject-addons.
Requested reviews:
Raphael Collet (OpenERP) (rco-openerp)
Related bugs:
Bug #925359 in OpenERP Addons: "an employee cannot answer a survey"
https://bugs.launchpad.net/openobject-addons/+bug/925359
For more details, see:
https://code.launchpad.net/~openerp-dev/openobject-addons/trunk-bug-925359-kjo/+merge/91399
Give access right to employee user
--
https://code.launchpad.net/~openerp-dev/openobject-addons/trunk-bug-925359-kjo/+merge/91399
Your team OpenERP R&D Team is subscribed to branch
lp:~openerp-dev/openobject-addons/trunk-bug-925359-kjo.
=== modified file 'hr_evaluation/security/hr_evaluation_security.xml'
--- hr_evaluation/security/hr_evaluation_security.xml 2011-11-11 20:29:46 +0000
+++ hr_evaluation/security/hr_evaluation_security.xml 2012-02-07 05:18:22 +0000
@@ -50,5 +50,10 @@
<field name="groups" eval="[(4, ref('base.group_hr_user'))]"/>
</record>
+ <record id="base.group_user" model="res.groups">
+ <field name="name">Employee</field>
+ <field name="implied_ids" eval="[(4, ref('base.group_survey_user'))]"/>
+ </record>
+
</data>
</openerp>
=== modified file 'hr_evaluation/security/ir.model.access.csv'
--- hr_evaluation/security/ir.model.access.csv 2012-01-04 15:55:54 +0000
+++ hr_evaluation/security/ir.model.access.csv 2012-02-07 05:18:22 +0000
@@ -1,6 +1,6 @@
id,name,model_id:id,group_id:id,perm_read,perm_write,perm_create,perm_unlink
access_hr_evaluation_evaluation_user,hr_evaluation.evaluation.user,model_hr_evaluation_evaluation,base.group_hr_user,1,1,1,1
-access_hr_evaluation_evaluation_employee,hr_evaluation.evaluation.employee,model_hr_evaluation_evaluation,base.group_user,1,0,0,0
+access_hr_evaluation_evaluation_employee,hr_evaluation.evaluation.employee,model_hr_evaluation_evaluation,base.group_user,1,1,1,0
access_hr_evaluation_plan_user,hr_evaluation.plan.user,model_hr_evaluation_plan,base.group_hr_user,1,1,1,1
access_hr_evaluation_plan_phase_user,hr_evaluation.plan.phase.user,model_hr_evaluation_plan_phase,base.group_hr_user,1,1,1,1
access_hr_evaluation_interview_user,hr.evaluation.interview.user,model_hr_evaluation_interview,base.group_hr_user,1,1,1,1
_______________________________________________
Mailing list: https://launchpad.net/~openerp-dev-gtk
Post to : [email protected]
Unsubscribe : https://launchpad.net/~openerp-dev-gtk
More help : https://help.launchpad.net/ListHelp