Tips and Tricks HQ Support Portal › Forums › WP eMember › eMember – editor access to mange membership levels
Tagged: access, Admin Dashboard, role, WP eMember
- This topic has 12 replies, 3 voices, and was last updated 8 years, 7 months ago by robmac74.
-
AuthorPosts
-
April 4, 2016 at 5:54 pm #13397robmac74Member
Hi, I would like to give WordPress Editors access to eMember. I have changed it where it to “Editor” in the dropdown where it says give “eMember Admin Dashboard Access Permission”.
However I would like the Editors to be able to add/edit Membership Levels and also Manage Content Protection in bulk. Is this possible?
If not would this be possible with a plugin do you know? Like User Role Editor or Justin Tadlocks Members plugin?
Thanks.
April 4, 2016 at 7:35 pm #72943wzpModeratorApril 5, 2016 at 2:16 pm #72944robmac74MemberThanks, I read that but reading through the thread I presumed that functionality is now build into eMember? Yet still doesn’t solve my problem.
April 5, 2016 at 5:20 pm #72945robmac74MemberIt is build into eMember. Please read carefully my question and also the thread you pointed me too which is now obsolete.
I have now installed user role editor pro. However I can’t block the eMember settings as there is also a tab under eMember in the dashboard called “settings”. Any idea how i can block editor access to settings? (without blocking access to the other eMember options Members and Membership Level)
Thanks.
April 5, 2016 at 8:41 pm #72946robmac74MemberCan I ask is it by design that wordpress editors can’t access the Membership Levels and also Manage Content Protection or is it a bug?
I think its crucial that editors access this functionality.
It seems odd that editors can access the settings menu (which is far more dangerous in my opinion) yet can’t access membership levels to create a new one or extend the expiry date.
Can you please let me know how I give my editors this access?
April 6, 2016 at 4:28 am #72947adminKeymasterWhen you enable the following option in eMember, that user role gets access to the WHOLE emember dashboard (all the menus of eMember):
eMember Admin Dashboard Access Permission
If you have enabled that option and they can’t see ALL the menu items then there is something weird going on your site. Let me know if this is the case and I can tell you what you should be trying next to troubleshoot it.
There is no option in the plugin to individually give access to a certain menu to an editor role.
You can modify the code and change the permission of the individual menu items by customizing the following function call in the plugin:
add_submenu_page
Use the following option if you are not a WordPress developer yourself:
April 6, 2016 at 9:38 am #72948robmac74MemberHi, Thanks for your reply. To clarify, when I give editors access they can see all the menu items. However when they click on “Membership Levels” they can see the levels. But when they then click on edit to edit a membership level it says something like “access denied”.
This is the same if they click on membership level -> manage content protection. Although this time instead of a message it just doesn’t load up the content to protect.
I have tested this on 2 different sites and same results. Can you please confirm if when you try it that it works ok for you that editors can edit membership levels?
April 6, 2016 at 9:44 am #72949robmac74MemberThe only way i managed to give editors access was to install User Role Editor and give the capability manage_options (which wasn’t ideal as then editors gained access to other things in wordpress which i didn’t want them to)
April 6, 2016 at 10:26 am #72950robmac74MemberJust in case its important the actual message is “access forbidden”
April 6, 2016 at 10:54 am #72951robmac74MemberJust to update you, I have tested this with all plugins deactivated apart from eMember and I still have the same problem. Also I switched themes and still no joy.
If you could advise what to try next please.
Is this possibly a bug? I am using eMember v9.0.1, is this the latest version?
April 7, 2016 at 5:00 am #72952adminKeymasterWhat you are experiencing shouldn’t happen, let me investigate this a little and then I will get back to you.
April 7, 2016 at 8:02 am #72953adminKeymasterFound the issue. We added a couple of extra security check in the ajax queries. That was checking against ‘manage_options’ role instead of the defined emember management permission.
I have updated the plugin to correct this. Sent you an update via email.
April 7, 2016 at 3:00 pm #72954robmac74MemberThank you very much, thats brilliant.
-
AuthorPosts
- You must be logged in to reply to this topic.