Skip to content
Snippets Groups Projects

Mass mailing restrictions

Merged Dani Quilez requested to merge feature/restrict-mass-mailing into dev
2 unresolved threads
  • Remove mass mailing user permission from all roles except from platform admin
  • Restrict menu root visibility for mass_mailing users

Fixes: https://trello.com/c/HZDdW5I9/385-desactivar-acc%C3%A9s-al-m%C3%B2dul-de-massmailing-per-qualsevol-role-diferent-de-platformadmin

Edited by Dani Quilez

Merge request reports

Pipeline #57295 passed

Pipeline passed for 7a938353 on feature/restrict-mass-mailing

Approved by

Merged by Dani QuilezDani Quilez 1 year ago (Oct 11, 2023 2:13pm UTC)

Pipeline #57855 passed

Pipeline passed for fbf42f1e on dev

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
1 <?xml version="1.0" encoding="utf-8" ?>
2 <odoo>
3 <data>
4 <record model="ir.ui.menu" id="mass_mailing.mass_mailing_menu_root">
5 <field
6 name="groups_id"
7 eval="[(6,0,[ref('mass_mailing.group_mass_mailing_user')])]"
  • Hi @daniquilez if we take out this group mass_mailing.group_mass_mailing_user from the menu item, nobody will be able to see this menu right? but users that have the role of Platform Admins need access. Perhups we need to add the group ennergy_communities.platform_admin tho this menu item in addition to take out the mass_mailing.group_mass_mailing_user

  • Author Maintainer

    Hello Xavi, with (6,0,...) we're not removing this group we're defining the visibility of this menu item only to the mass_mailing users group. This group is only allowed for platform admins role so once this gets updated only people from this role will see the menu item

  • Please register or sign in to reply
  • Enrico Stano
  • Dani Quilez mentioned in commit fbf42f1e

    mentioned in commit fbf42f1e

  • merged

  • mentioned in merge request !220 (merged)

  • Please register or sign in to reply
    Loading