Passa al contenuto
Menu
È necessario essere registrati per interagire con la community.
La domanda è stata contrassegnata
1 Rispondi
137 Visualizzazioni

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

Avatar
Abbandona
Risposta migliore

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
Abbandona