I need to know how to restrict log chat for users but administrator can only delete and edit. current version is Odoo 15 enterprise version.
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
- CRM
- e-Commerce
- Accounting
- Inventory
- PoS
- Project
- MRP
This question has been flagged
You can edit the access rights for "mail.message" model
In Odoo 15, to restrict the ability for users to delete and edit chat logs, but still allow administrators to do so, you can use the Access Control List (ACL) feature. Here are the general steps you can follow:
- Go to the Settings app and open the Access Control List page.
- Create a new access rule, and select "Mail.Channel" as the object.
- In the access rule, set the permissions for the user group that you want to restrict. For example, if you want to restrict all non-administrator users, you can set the permissions for the "Employees" group to "Read Only".
- For the administrator group, you can set the permission to "Full Access".
- Save the access rule.
This way all the users will be restricted to only read the chat logs, and only administrator will have the power to edit and delete the chat logs.
Please note that these steps might vary if you have any custom modules or customizations to the default odoo15, and you may need to adjust the permissions accordingly.
It's also important to test it in a test environment before implementing it in production.
Thank for your help...!
Enjoying the discussion? Don't just read, join in!
Create an account today to enjoy exclusive features and engage with our awesome community!
Sign upRelated Posts | Replies | Views | Activity | |
---|---|---|---|---|
|
1
Jun 25
|
1400 | ||
|
3
Jul 25
|
3097 | ||
|
1
May 25
|
1236 | ||
|
1
May 25
|
1518 | ||
|
4
May 25
|
2646 |