Odoo - OpenERP - How to Overwrite ACL permissions - Access Controls List in Settings ?

Support
Support
5000
| 2 1 2
Asked on 8/21/15, 4:37 PM
0
vote
3936 Views

To overwrite ACL permission in Odoo, you have to overwrite id of that ACL record.

For example by default in Employee Appraisals module Human Resource/ Officer user group is given full permissions as follow. 

id - access_survey_page_hr_user
name - survey.page.hr.user
model_id:id - survey.model_survey_page
group_id:id - base.group_hr_user
perm_read - 1
perm_write - 1
perm_create - 1
perm_unlink - 1

and later in your customized module you decide to revoke unlink permission for that user group.

you have to just keep exact id and change permissions section. ACL record will be as follow:

id - access_survey_page_hr_user
name - survey.page.hr.user
model_id:id - survey.model_survey_page
group_id:id - base.group_hr_user
perm_read - 1
perm_write - 1
perm_create - 1
perm_unlink - 0

Support
Support
5000
| 2 1 2
Answered on 8/21/15, 4:38 PM
0
vote

Your answer

Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!

Ask a Question

Keep Informed

About This Forum

This forum is for HiTechnologia Employees & just Odoo general knowledge purpose only.

Read Guidelines

Question tools

3 follower(s)

Stats

Asked: 8/21/15, 4:37 PM
Seen: 3936 times
Last updated: 8/21/15, 4:38 PM