تخطي للذهاب إلى المحتوى
القائمة
لقد تم الإبلاغ عن هذا السؤال
1 الرد
124 أدوات العرض

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

الصورة الرمزية
إهمال
أفضل إجابة

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

الصورة الرمزية
إهمال