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.
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