Change WordPress user roles and capabilities › Forums › Give user access to plugin – how to › Trying to lock down to just instapage plugin
- This topic has 2 replies, 2 voices, and was last updated 4 years ago by rapidfiretools.
-
AuthorPosts
-
22/10/2020 at 19:30 #7121rapidfiretoolsParticipant
Hello, I’m trying to lock a user down to just access to the instapage plugin, https://wordpress.org/plugins/instapage/
How can I do that, and if it’s possible/a common thing are there are documents that explain how to grab this stuff from the plugin? I assume you need to go through the plugins entered here to figure that out, is there any documentation to explain what you’re looking for if that is the case?
23/10/2020 at 02:43 #7124VladimirKeymasterHi,
Admin menu access add-on helps with this:
If you wish to see full list of administrator menu items open “Admin menu” for the “Administrator” role.
There is no sense to block menu items for administrator. So checkboxes are unavailable here. It is a very good start point for WordPress menu user permissions study and research. You may use “Admin Menu” dialog here as the reference for your work with roles and capabilities as “Admin Menu” shows what user capability restricts access to what admin menu item including menu items added by active plugins.Some plugins use own user capabilities, some plugins use one from WordPress built-in capabilities, like ‘manage_options’, ‘edit_posts’, etc.
The 1st step is to look what capabilities plugin uses to protect its menu. Open “Admin menu” for the ‘Administrator’ role, find needed menu item and look to the ‘User Capability’ column.
If you don’t wish a role has access to this menu, revoke from it the related user capabilities. If you can not revoke some capabilities as they are needed for access to other menu items, like ‘edit_posts’ then block unneeded menu items with “Admin menu access” add-on.
Similar if you need to provide to a role access for some menu item – grant to it the related user capabilities. Then check if it get access to unneeded menu items (like in case when you grant ‘manage_options’ capability) and block unneeded menu items with “Admin menu access” add-on.23/10/2020 at 12:52 #7127rapidfiretoolsParticipantGreat, that makes a lot of sense and was able to help me get it set up. Thanks for the help. I do have one item that I have blocked but it’s still showing up, but it’s just elementor templates and I don’t have pro anyway so they can’t do anything. Thanks for the help.
-
AuthorPosts
- You must be logged in to reply to this topic.