Skip to Content
Menu
You need to be registered to interact with the community.
This question has been flagged
1 Odgovori
126 Prikazi

In forum module,I need moderation tools only for admins and not for portal user

Avatar
Opusti
Best Answer

Hi,


In Odoo, forum moderation tools should be restricted by user groups. Portal users can read and post messages but should not have moderation capabilities, while internal users or admins can moderate based on their group membership.


The moderation buttons in forum views are controlled via the groups attribute in the XML templates. By ensuring that only admin or internal groups (e.g., base.group_system) are assigned, and portal users are excluded, the moderation tools will only appear for authorized users.


Optionally, you can customize forum templates in a module to explicitly hide moderation buttons for portal users using XML overrides. This approach ensures that only admins have access to moderation features while portal users see a simplified interface.


Hope it helps

Avatar
Opusti