Merge lp:~openerp-dev/openobject-addons/trunk-bug-767153-ara into lp:openobject-addons

Proposed by Meera Trambadia (OpenERP)
Status: Merged
Merged at revision: 5064
Proposed branch: lp:~openerp-dev/openobject-addons/trunk-bug-767153-ara
Merge into: lp:openobject-addons
Diff against target: 20 lines (+3/-2)
1 file modified
hr_timesheet/security/ir.model.access.csv (+3/-2)
To merge this branch: bzr merge lp:~openerp-dev/openobject-addons/trunk-bug-767153-ara
Reviewer Review Type Date Requested Status
Mustufa Rangwala (Open ERP) (community) Approve
qdp (OpenERP) Pending
Review via email: mp+63863@code.launchpad.net

This proposal supersedes a proposal from 2011-05-17.

Description of the change

Hello,

Fix: An employee cannot encode his own timesheet

Thanks,
ara

To post a comment you must log in.
Revision history for this message
Mustufa Rangwala (Open ERP) (mra-tinyerp) wrote : Posted in a previous version of this proposal

Employee can only see the analytic journal

+"access_account_analytic_journal_user","account.account.analytic.journal.user","account.model_account_analytic_journal","base.group_user",1,1,1,0 => 1,0,0,0

review: Needs Fixing
Revision history for this message
Meera Trambadia (OpenERP) (mtr-openerp) wrote :

Hello sir,

I have made the changes as specified above.

Thanks
mtr

Revision history for this message
Mustufa Rangwala (Open ERP) (mra-tinyerp) :
review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'hr_timesheet/security/ir.model.access.csv'
2--- hr_timesheet/security/ir.model.access.csv 2011-04-11 07:00:35 +0000
3+++ hr_timesheet/security/ir.model.access.csv 2011-06-09 05:21:37 +0000
4@@ -1,7 +1,7 @@
5 "id","name","model_id:id","group_id:id","perm_read","perm_write","perm_create","perm_unlink"
6 "access_hr_analytic_timesheet","hr.analytic.timesheet","model_hr_analytic_timesheet","base.group_hr_user",1,1,1,1
7 "access_hr_account_analytic_line","account.account.analytic.line","account.model_account_analytic_line","base.group_hr_user",1,1,1,1
8-"access_hr_account_analytic_line_employee","account.account.analytic.line employee","account.model_account_analytic_line","base.group_user",1,0,0,0
9+"access_hr_account_analytic_line_employee","account.account.analytic.line employee","account.model_account_analytic_line","base.group_user",1,1,1,0
10 "access_account_analytic_journal","account.account.analytic.journal","account.model_account_analytic_journal","base.group_hr_user",1,1,1,1
11 "access_product_product_user","product.product user","product.model_product_product","base.group_hr_user",1,1,1,1
12 "access_product_template_hr_timesheet","product.template.hr.timesheet","product.model_product_template","base.group_hr_user",1,1,1,1
13@@ -9,4 +9,5 @@
14 "access_account_fiscalyear_hr_user","account.account.fiscalyear.user","account.model_account_fiscalyear","base.group_hr_user",1,1,1,1
15 "hr.access_account_journal_view_hruser","account.journal.view hruser","account.model_account_journal_view","base.group_hr_user",1,0,0,0
16 "hr.access_account_journal_column_hruser","account.journal.column hruser","account.model_account_journal_column","base.group_hr_user",1,0,0,0
17-"access_hr_analytic_timesheet_user","hr.analytic.timesheet.user","model_hr_analytic_timesheet","base.group_user",1,0,0,0
18\ No newline at end of file
19+"access_hr_analytic_timesheet_user","hr.analytic.timesheet.user","model_hr_analytic_timesheet","base.group_user",1,1,1,0
20+"access_account_analytic_journal_user","account.account.analytic.journal.user","account.model_account_analytic_journal","base.group_user",1,0,0,0

Subscribers

People subscribed via source and target branches

to all changes: