Skip to Content
Meniu
Trebuie să fiți înregistrat pentru a interacționa cu comunitatea.
Această întrebare a fost marcată
1 Răspunde
132 Vizualizări

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

Imagine profil
Abandonează
Cel mai bun răspuns

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

Imagine profil
Abandonează