- This topic has 1 reply, 2 voices, and was last updated 10 years, 1 month ago by .
Viewing 2 posts - 1 through 2 (of 2 total)
Viewing 2 posts - 1 through 2 (of 2 total)
- You must be logged in to reply to this topic.
Support site for Tips and Tricks HQ premium products
by
Tips and Tricks HQ Support Portal › Forums › WP eStore Forum › eStore – Allow non-admin custom user role access to some WP eStore admin tabs
Have reviewed this forum post which is related to my question:
I would like a site user who has a custom role, access only to the Wp eStore: MANAGE CUSTOMERS.
Could you let me know how to modify the php provided in the above forum post to accomplish this?
Thank you,
Robert
1. Open the “wp_eStore1.php” file and search for the following:
define(“ESTORE_MANAGEMENT_PERMISSION”, “add_users”);
2. Once you find it replace it with the following:
define(“ESTORE_MANAGEMENT_PERMISSION”, “edit_pages”);
Right now, “ESTORE_MANAGEMENT_PERMISSION” grants access to all eStore tabs. You’d require custome work; in order to allow for a more granular permission. After that, it is simply a matter of replacing “edit_pages” with the custom capability that is assigned to your custom role.
Please complete the custom work order quote request form, and someone will get back to you: