February 8, 2011 at 8:57 pm #2671sscovilMember
My website will work as follows: A new member pays for a medical test and registers as user. A few weeks later, the lab provides test results. Based on those test results, the user will receive a new membership level and gain access to particular information pertaining to their results.
For legal reasons, the lab cannot send test results to the patient directly. Instead, we need to give the lab access to the back end of our site, so they can look up a particular patient and change his/her membership level based on the test results. But we do not want to grant the lab full admin access to our website.
Is there a way to create a WordPress admin role that can only change the membership levels of users?February 9, 2011 at 5:11 am #28854
You can create an “editor” or “author” account in WordPress (not an admin account) and then tweak eMemember so that it gives access to editors or authors. This way both editors and admins can access the eMember but the editors can’t do any other admin stuff on the side.
If you think that this will work then let me know and I will tell you what to do.February 25, 2011 at 11:15 am #28855frantanMember
I am also interested in how to implement this on my site. I would like to grant access to the members list in the backend without the user being able to have admin rights.
If it is possible I would like to be able to create a login for someone where the only thing they can do in WordPress is edit wp eMember. I realise that might not be possible so if not then the solution you described above would still be very useful.
ThanksFebruary 25, 2011 at 11:47 pm #28856
The way WordPress handles permission stuff in the backend is via user roles. When you create an WordPress user you can assign roles to it (example, subscriber, author, editor, admin). By default only admin roles can do all the admin stuff including access to plugin dashboard. Depending on these roles you can code it so that only authors or above users can have access to eMember or eStore menu in the admin dashboard.
First you need to decided if you want to create an author level account or an editor level account for this user then I can tell you what to do so this level can access eMember backend.February 28, 2011 at 11:37 am #28857frantanMember
I would like to do this for the editor role please
Many ThanksMarch 1, 2011 at 12:00 am #28858
Update: There is an option for it now. Documentation here:October 10, 2011 at 8:59 pm #28859spowebMember
Thanks guys, this helped a bunch.March 1, 2012 at 10:22 pm #28860acekinMember
I have just found this thread and used the method described, it works. However, if we upgrade eMember this change will disappear. Will it be possible to add this to the admin panel of eMember plugin so that it becomes a parameter in the database and will carry forward with upgrades.
ThanksMarch 2, 2012 at 6:43 am #28861adminKeymaster
I will look into making it an option if we see a lot of users asking for it. We already have too many options in the eMember plugin so we need to make sure we add options for items that gets used by a lot of users. This post will explain more on this:September 29, 2012 at 2:35 am #28862adminKeymaster
We have added an option for this in eMember admin functions menu. So you can set this option from there (no need to apply any code tweak).
- You must be logged in to reply to this topic.