How to change acces rights in a group to read-only?

Asked by openT

Hello,

I successfully limited the view of a user by using the Record rules in the Administration Panel. However, I currently want to limit the access of the view to read-only and I haven't found a way to do it efficiently.

Currently the only way I found to change the access rights in a Group (Admin -> Users -> Groups -> Pick a Group -> Acess Rights) is to change the access right for each object one by one (selecting modify, then unchecking write/delete/create), which is far too long when there are more than 50 objects. Is there a way to change the access rights of all the objects used in the group automatically or in a faster way?

Thank you and have a great day!

** Using OpenERP v5.0.0.9

Question information

Language:
English Edit question
Status:
Solved
For:
OpenERP Edit question
Assignee:
No assignee Edit question
Solved by:
Vinay Rana (OpenERP)
Solved:
Last query:
Last reply:

This question was reopened

Revision history for this message
shanky (shankar-shinde-deactivatedaccount) said :
#1

Hello,

Another two more ways give or change access rights
1) In menu (Administration/Security/Access Controls/Access Controls List and Administration/Security/Access Controls/Access Controls Grid) using this we can control access rights

2) Create Security folder inside your module and using the "ir.model.access.csv" file we can give access rights to object

Hope so this will help
Shankar

Revision history for this message
shanky (shankar-shinde-deactivatedaccount) said :
#2

Hello openT,

Can u help for the following query
https://answers.launchpad.net/openobject-addons/+question/114066

Is it possible to explain how do you use Record Rules or any tutorial for Record rule?

Regards,
Shankar

Revision history for this message
openT (useruser) said :
#3

Hey Shanky,

I replied in your query. Try it out and tell me if it works out.

Thanks for your help too,
Regards

Revision history for this message
openT (useruser) said :
#4

Is there a way to put all the objects in the group to read-only in a few clicks? Not sure that's possible with the Access list nor the grid.

Thanks

Revision history for this message
Best Vinay Rana (OpenERP) (vra-openerp) said :
#5

Hello OpenT,

There is not any another way available for giving access rights to multiple objects in a few clicks.
If you wants this type of facility, it needs some customization in the existing code.
You need to implement the wizard for this purpose.

Hope this will help you.

Thanks.

Revision history for this message
openT (useruser) said :
#6

Thanks vra (openerp), that solved my question.

Revision history for this message
openT (useruser) said :
#7

Thanks for the information, very appreciated!