Merge lp://staging/~invitu/openerp-mgmtsystem/7-0_fix_security into lp://staging/openerp-mgmtsystem

Proposed by invitu
Status: Merged
Approved by: Guewen Baconnier @ Camptocamp
Approved revision: 93
Merged at revision: 94
Proposed branch: lp://staging/~invitu/openerp-mgmtsystem/7-0_fix_security
Merge into: lp://staging/openerp-mgmtsystem
Diff against target: 30 lines (+22/-2)
1 file modified
mgmtsystem_hazard/security/ir.model.access.csv (+22/-2)
To merge this branch: bzr merge lp://staging/~invitu/openerp-mgmtsystem/7-0_fix_security
Reviewer Review Type Date Requested Status
Daniel Reis code review no test Approve
Pedro Manuel Baeza code review Approve
Maxime Chambreuil (http://www.savoirfairelinux.com) Approve
invitu (community) Needs Resubmitting
Review via email: mp+208239@code.staging.launchpad.net

Description of the change

fix security for objects

To post a comment you must log in.
Revision history for this message
Pedro Manuel Baeza (pedro.baeza) wrote :

Hi, I think you have forgotten some access rules:

- risk_computation_manager
- hazard_probability_manager
- hazard_severity_manager
- hazard_usage_manager
- hazard_risk_type_user
- hazard_hazard_user
- hazard_hazard_test_user
- hazard_control_measure_user
- hazard_residual_risk_user
- hazard_type_manager

Thanks.

Regards-

review: Needs Fixing (code review)
Revision history for this message
invitu (invitu) wrote :

thanks for your comment
missing rules have been added
regards

review: Needs Resubmitting
Revision history for this message
Maxime Chambreuil (http://www.savoirfairelinux.com) (max3903) :
review: Approve
Revision history for this message
Pedro Manuel Baeza (pedro.baeza) wrote :

Thanks for the changes.

Regards.

review: Approve (code review)
Revision history for this message
Daniel Reis (dreis-pt) wrote :

Shouldn't "base.group_user" in L5,L6 be "mgmtsystem.group_mgmtsystem_user" instead?

BTW, there's no need to "resubmit proposal". Just pushing the additional changes is enough, and the additional revision will be displayed in the discussion history.

review: Needs Information
93. By invitu

[FIX] fix security for some objects

Revision history for this message
invitu (invitu) wrote :

I just added missing rules but it seems that the existing ones needed to be improved too
--> branch updated

regards

Revision history for this message
Daniel Reis (dreis-pt) :
review: Approve (code review no test)

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
The diff is not available at this time. You can reload the page or download it.