-
- Downloads
[IMP] mail: disable chatter when the user has no write access
Before this PR a user that could not post on the chatter could still try. This
PR disable the chatter topbar menu if the user doesn't have the write access.
task-2693304
closes odoo/odoo#88531
Related: odoo/enterprise#30054
Signed-off-by:
Sébastien Theys (seb) <seb@odoo.com>
Showing
- addons/mail/static/src/components/attachment_box/attachment_box.xml 1 addition, 1 deletion...l/static/src/components/attachment_box/attachment_box.xml
- addons/mail/static/src/components/chatter_topbar/chatter_topbar.xml 13 additions, 4 deletions...l/static/src/components/chatter_topbar/chatter_topbar.xml
- addons/mail/static/src/models/chatter.js 23 additions, 14 deletionsaddons/mail/static/src/models/chatter.js
- addons/mail/static/src/models/follow_button_view.js 2 additions, 2 deletionsaddons/mail/static/src/models/follow_button_view.js
- addons/mail/static/src/models/follower.js 1 addition, 1 deletionaddons/mail/static/src/models/follower.js
- addons/mail/static/src/models/follower_list_menu_view.js 1 addition, 1 deletionaddons/mail/static/src/models/follower_list_menu_view.js
- addons/mail/static/tests/qunit_suite_tests/components/chatter_tests.js 2 additions, 2 deletions...tatic/tests/qunit_suite_tests/components/chatter_tests.js
- addons/mail/static/tests/qunit_suite_tests/components/chatter_topbar_tests.js 19 additions, 19 deletions...ests/qunit_suite_tests/components/chatter_topbar_tests.js
- addons/mail/static/tests/qunit_suite_tests/widgets/form_renderer_tests.js 5 additions, 5 deletions...ic/tests/qunit_suite_tests/widgets/form_renderer_tests.js
Loading
Please register or sign in to comment