• Resolved rdcgr

    (@rdcgr)


    I am developing a website for a client and i gave him the Editor role.
    I went into the Acymailing settings and i chose that editors can access acymailing.

    When the client changed something in the acymailing settings (like the FROM: text) he couldnt access acymailing at all at the wordpress admin. It’s like the user role setting that i chose got wiped when he clicked save.

    Im reporting to see if it is a general bug that can be fixed in the next version.

    Also apart from that it would be helpful if you could also integrate a custom capability that we can assign with code to any user with perhaps a custom role.

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Support jeremyacy

    (@jeremyacy)

    Hello,

    If I’m not mistaken, the “Editor” role doesn’t have access to the WordPress admin part, so the user shouldn’t have access to the AcyMailing settings. Did you modify it?

    How did you setup the advanced permissions in AcyMailing?
    Did you select the “Administrator” and “Editor” roles for the “Configuration” part?

    Thread Starter rdcgr

    (@rdcgr)

    The Editor role has access to wordpress admin because he can publish posts etc.

    I tried to do it from Acymailing -> Configuration -> Security -> Advanced configuration -> Permissions -> “Allow these user groups to access AcyMailing?“

    In this select field there is no option for administrator which i guess is enabled by default. I chose there “editor”. But when the editor goes also into configuration to change for example the Mail settings -> From name etc and clicks save, this setting i chose above gets overwritten, and then he cant access acymailing at all.

    Plugin Support jeremyacy

    (@jeremyacy)

    The WP and AcyMailing permissions are mixed together, for example the “AcyMailing” entry is only visible in the left menu if the user has the “read” WP permission (it should be the case for most roles), and is an administrator or their role is allowed in the option you mentioned.

    The only exception we made is for the AcyMailing advanced permissions, the user must have to “manage_options” permission.

    The code that adds AcyMailing in the left menu can be found in the file wp-content/plugins/acymailing/wpinit/menu.php near line 25

    The code that checks the permissions can be found in the file wp-content/plugins/acymailing/back/libraries/wordpress/security.php near line 207

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Possible bug: Acymailing and user roles’ is closed to new replies.