Access to the list subscribers by the user "editor"

In my network of sub-domains, the managers of the individual sites are “editors”. I would make sure that they could have access / management:

– List subscribers (“admin.php? Page = sbe-subscribers”:wink:

– Add new / delete subscriber (“admin.php? Page = sbe-add-subscribers”:wink:

Now these pages are accessible only by the admin of the individual sites.

It’s possible? What kind of rule should I create?

Thanks in advance and good day!

  • Innovate Srl
    • Design Lord, Child of Thor

    ok, it works but only partially.

    I wish that the editor had access to:

    – subscriber

    – Add subscriber

    – Edit subscriber

    but I would like to barring access to settings (admin.php? page = sbe-settings)

    it’s possible?

    Thank you, and have a nice day

  • Hoang Ngo
    • Code Slayer

    Hi there,

    I hope you are well today.

    We can do that, unfortunately, this will require plugin code change. This mean you will need to re-update the code when new version come out.

    If you are fine with that, in file /subscribe-by-email/admin/pages/admin-settings-page.php, line 32, you will see a line of code like this

    'capability' => 'manage_subscribe_by_email',

    Please update to

    'capability' => 'manage_options',

    So for now, the editor can’t access to settings page, but they will can for other pages.

    If you have any additional issues, please let us know and we’ll be happy to help.

    Best regards,

    Hoang

Thank NAME, for their help.

Let NAME know exactly why they deserved these points.

Gift a custom amount of points.