Forum Replies Created
-
AuthorPosts
-
VladimirKeymaster
Hi,
There is no way to achieve this via User Role Editor Pro.
It’s possible to hide ‘Publish’ button via CSS adding custom code to theme’s functions.php file, but author will can not save changes to the post in this case, only change its status.
VladimirKeymaster“Tools->Delete Site” is protected by default by ‘delete_site’ capability, which is mapped by WordPress to ‘manage_options’, wp-includes/capabilities.php:
case 'delete_site': if ( is_multisite() ) { $caps[] = 'manage_options'; } else { $caps[] = 'do_not_allow'; } break;
So if role does not have ‘manage_options’ capability URE will not show this menu item in the “Admin menu” dialog.
My test shows that “Admin menu” allows to block “Tools->Delete Site” successfully in case role has ‘manage_options’ capability for other purpose.VladimirKeymaster1st, look if you can revoke from a role unneeded capabilities. Capabilities started from ‘ure_’ protect access to User Role Editor. Revoke them from ‘administrator’ role and single site admin will not see Users->User Role Editor (ure_edit_roles) and Settings->User Role Editor (manage_network_plugins).
2nd, use URE Pro Admin menu access as the 2nd level of configuration, admin menu access, when you can not revoke some capability, which is in use by different menu items at the same time, like manage_options or edit_posts.
VladimirKeymasterURE Pro does not include such functionality. Look at the “Peter’s Login Redirect‘ plugin or similar.
This article contains a short review in the “Method 1” part.31/07/2020 at 04:32 in reply to: Allowing a non-administrator user to manage roles for wordpress users #6973VladimirKeymasterURE does not provide any user interface for the front-end.
If you have some plugin for this purpose, but don’t sure what permissions to grant to not-admin user, I can help.VladimirKeymasterHi,
URE Pro does not manipulate with CSS classes currently.
If you can/will add CSS class manually, how do you plan to define if this class should have display property value ‘block’ or ‘none’ in relation to the current user?
VladimirKeymasterSorry, I don’t see on the video any new deprecated capabilities. I may just confirm that there were no any related changes in the recent URE Pro update.
So, if you can give me details what URE Pro feature does not work, I will investigate. If this is something related to “WooCommerce members/subscription” – I can not help.VladimirKeymasterHi,
It seems that listed options belong to other plugin. Is it possible?
The list of deprecated capabilities was not changed. Can you show the screenshot with these capabilities shown as deprecated?
VladimirKeymasterHi,
I suppose that you blocked access to the ‘Dashboard’ admin menu item. Unblock it to get ‘House’ icon at admin bar back. You can block undesired meta boxes at dashboard page for a role with “Meta boxes blocking” add-on.
VladimirKeymasterHi,
Sorry, this feature is not realized. I still agree that it would be good to add to URE Pro. I can not tell you the date though.
VladimirKeymasterHi!
Excellent! Thanks for the feedback.
VladimirKeymasterMembership plugin may overwrite the WordPress default role and assign its own.
Try to select the role you wish to grant just after registration as the other default role in addition to a primary one. Make this at Settings->URE->Default Roles. Let me know if that will help.
VladimirKeymasterMenu item “Tools->Erase personal data” is protected by virtual user capability ‘erase_others_personal_data’. WordPress maps it by default to ‘manage_network’ for multisite and ‘manage_options’ for single site installation.
User Role Editor Pro can change this:
Try to turn ON the “Privacy related (manage_privacy_options, export_others_personal_data, erase_others_personal_data)” option at the “Settings->User Role Editor->Additional Modules” tab. Grant ‘erase_others_personal_data’ capability to your role then. Will it help?VladimirKeymasterLook at this topic for information how to add other roles to the list of roles available for shop_manager for editing/selection.
VladimirKeymasterHi,
My test showed that shop_manager with ‘list_users’, ‘edit_users’, ‘delete_users’ capabilities’ can delete selected user with ‘customer’ role successfully. Test user was just created and did not have orders though. Does customer have orders in your case?
Try to deactivate all plugins except WooCommerce. Will shop_manager can delete user then? -
AuthorPosts