• Resolved sbz2


    I really like MailPoet 3, but I miss the roles/permissions function.
    I don’t want to give admin privileges to the newsletter team.

    Is there a workaround, and do you know when roles & permissions will be restored in MailPoet 3?

    Thank you so much!


    • This topic was modified 4 years, 3 months ago by sbz2.
Viewing 11 replies - 1 through 11 (of 11 total)
  • Plugin Author MailPoet



    Roles and permissions will be provided in the final version, we are still working out the details. For the time being, you can install a role management plugin (e.g., https://en-ca.wordpress.org/plugins/user-role-editor/) and grant “manage_options” permission to other roles/users.

    MailPoet Team.

    • This reply was modified 4 years, 3 months ago by MailPoet.

    I have the same problem. The plugin User Role Editor can not set permissions for MailPoet 3 beta:(

    • This reply was modified 4 years, 3 months ago by pebro.
    Plugin Author MailPoet



    We’ve just tried and it works. All you have to do is add “manage_options” capability to the “editor” (or any other) role: http://i.imgur.com/8bvcJaK.png Make sure to click the “update” button.

    MailPoet Team.

    • This reply was modified 4 years, 2 months ago by MailPoet.

    The above fix has worked for me 🙂

    It worked for me too but then the editor has access to the settings of all plugins, not only MailPoet. And this is not OK for me. Too dangerous.

    Could you please tell us if you know when the Roles & Capabilities tab will be included in MailPoet3 ?
    I am building a new website and I need a newletter plugin that deal with roles & capabilities.
    Thanks in advance.

    Plugin Author MailPoet



    This week’s release will by default allow editors to manage newsletters. It will also add the following filters: mailpoet_permission_access_plugin_admin, mailpoet_permission_manage_settings, mailpoet_permission_manage_emails, mailpoet_permission_manage_subscribers, mailpoet_permission_manage_forms, mailpoet_permission_manage_segments, mailpoet_permission_update_plugin. When you hook to them you need to return an array of user roles that are permitted to perform a certain function. For example, to allow administrators/editors/contributors to manage newsletters, use the following:

    add_filter('mailpoet_permission_manage_emails', function() {
      return array(

    MailPoet Team.

    Thank you very much for the ongoing improvement and also for the piece of code and explanation you just gave. It works great and makes me very happy 🙂
    As I am not good at coding beyond html and CSS, I needed as much.

    Finally Editors can handle lists subscribers (as it should be).

    Thanks: René.

    where do I add that piece of code?

    @ svanreisen:
    In your theme, in the file called functions.php
    It will be overwritten each time your theme is updated though. In order to avoid this you would need to use a child theme.

    I hope it helps,


    I have custom role web_admin added by this code:
    add_action(‘init’, ‘ef_add_role’);
    function ef_add_role() {
    add_role(‘web_admin’, __(‘Správce webu’, EF_THEME));
    add_action( ‘init’, ‘ef_add_user_caps’);

    function ef_add_user_caps() {

    I want add access to mailpoet to web_admin with this code:
    $filters = array(
    if ( $filters ) {
    foreach ( $filters as $filter ) {
    add_filter( $filter, function () {
    return array( ‘administrator’, ‘web_admin’ );
    } );

    when I test filter, the I get right result but I don’t see MailPoet page in admin

Viewing 11 replies - 1 through 11 (of 11 total)
  • The topic ‘Roles & Permissions’ is closed to new replies.