Forum Replies Created
-
AuthorPosts
-
Vladimir
KeymasterI installed both virtue premium and its child you sent to me and added code for the premium theme to the child theme’s functions.php file for testing.
Did you changed role ID at the code for your own one?
Vladimir
KeymasterHi,
I updated the post for the Virtue Premium, which differs from a free one.
Vladimir
KeymasterThis recipe will help you to restrict access to the selected sections of the Virtue them options page:
Vladimir
KeymasterYou discovered the real bug. Old feature was lost due to use of the hard coded path inside the code. Version 4.21 includes a fix for this bug:
Fix: Removed hard coded folder name (user-role-editor) from the used paths. User Role Editor Pro is hidden now from a user without permissions (administrator or ure_edit_roles), even if a user has access to the ‘activate_plugins’ capability.You may restrict plugins available for the activation/deactivation at the user level:
Could you please test plugins access related part with the development version 4.21.b7?
It’s available after login from the Downloads page.I look at the free version of the theme to understand if it’s possible to change something with access to the tabs at its options page.
Vladimir
KeymasterHi Francis,
I’m looking on the described issues currently. I will answer you today definitely.
Vladimir
KeymasterHello,
There are some rare issues when a client discovers specific product incompatible with User Role Editor Pro. I hope it’s not your case.
Could you give more details about to what plugin do you wish to provide access? May be a hint, which follows below, will be helpful.How can I give access only to some plugins and not to the rest?
If plugin provides its own user capabilities use theme 1st. If plugin does not provide its own permissions or there is not enough them, use “Admin menu access” add-on with ‘Block not selected’ option:
https://www.role-editor.com/block-admin-menu-itemsWhat theme do you use? What do you try to block/hide? If it’s a commercial product, could you send its copy to [email protected] for the research?
Vladimir
KeymasterIf you used “Content view restrictions” add-on – it is for the front-end only.
If you wish that a user have ‘read only’ access to the list of posts or pages at the back-end, give him ‘edit_posts’ capability, but do not give ‘create_posts’ capability (it should be activated at the URE’s Settings ‘Additional modules’ tab. This way a user will see only ‘View’ link under the posts created by other authors and can not create any post himself.
Vladimir
Keymaster– Check if valid role was really assigned to the user. Try to assign to him some other role, then needed role back again. Sometimes it helps.
– Check related theme’s settings, compare them with those were set at dev. environment.Vladimir
KeymasterIs it possible that your theme setup the different menus for the different roles?
Try to test admin menu access with the WordPress default 2015 theme.Vladimir
KeymasterYes, use ‘Admin menu access’ add-on for this purpose:
https://www.role-editor.com/block-admin-menu-itemsVladimir
KeymasterOK. I see now that admin menus are really different and user can edit posts but does not see ‘Posts’ menu.
Are you sure that all WordPress customizing plugins are disabled at your site when you get this picture?
Vladimir
KeymasterThanks.
1st, to be sure that there is no other code preventing needed access, could you deactivate all plugins?
2nd, what menu item is unavailable for other (non-admin) user?Vladimir
KeymasterIf user doesn’t see the menu with both plugins deactivated (I suppose that you don’t have some other menu blocking plugin) then user does not have enough permissions for this menu.
OK. Let’s clarify, what do you name ‘Dashboard’ menu.
WordPress has ‘Dashboard’ menu item with submenu consisted from 2 items: Home, Updates.
Do you write about this menu?
Or do you write about full admin menu? What menu item user does not see? Let’s try to resolve a problem with some menu item 1st.Vladimir
KeymasterI didn’t understood for what you showed me the log about to access to the ‘Menu Editor Pro’ menu item. You wrote earlier that you have a problem with access to the ‘Dashboard’ menu. Or do the problem is about the access to the other menu item?
Anyway please answer on my questions:
Did you try to deactivate both plugins which you suppose are conflicting? Did it help to get access to the missed menu?
Did you try to activate plugins separately?
Do user loses access to the menu item after some plugin separate activation?Vladimir
Keymaster– Deactivate free version;
– Download Pro version. It’s available after login from this page:
https://www.role-editor.com/download-plugin/
– install Pro version into the separate ‘wp-content/plugins/user-role-editor-pro’ folder via FTP;
– activate Pro version;
– go to ‘Settings->User Role Editor->General’ tab;
– input the license key there. -
AuthorPosts