Forum Replies Created
-
AuthorPosts
-
Vladimir
KeymasterLukas,
I meant that I need to know role ID and the list of capabilities granted to it.
You can export it and send file to support [at-sign] role-editor.com in order do not spend time on screenshots.Vladimir
KeymasterHi Lukas,
Clarify, for what role do you try to block other roles?
14/03/2019 at 04:21 in reply to: Display widget dependent upon user is logged in or logged out #5582Vladimir
KeymasterHi,
My test showed that “Widget show access” part works as expected. Can you re-check you selection for mentioned widgets?
If you need further help, I’m ready to look at the issue on-line, just send site URL and admin credentials to support [at-sign] role-editor.com14/03/2019 at 01:46 in reply to: Only make text available to a user group via CSS class or short code? #5581Vladimir
KeymasterHi,
It’s possible to use [user_role_editor] shortcode in order to hide part of post/page from users with certain role on not logged-in users.Vladimir
KeymasterDone. You make take a new license key from your account page.
Vladimir
KeymasterChanging license key for the account will require to replace it at all projects where it was used. I may do this by your request.
You can go to the “Settings->User Role Editor->General” and input any chars sequence to replace the actual license key. Project which you handover will not use your license key after that.
Vladimir
KeymasterMore correct to say:
“role with ‘manage_options’ capability granted will get access to any admin menu item protected by ‘manage_options’ capability. Be careful, as ‘manage_options’ allows access to some critical menu items like “Settings”.Vladimir
KeymasterYou can go to “Users->User Role Editor”, select “editor” role and turn ON the “manage_options” checkbox for it. Yes, editor role will get access to the many menu items, including “Settings”. But you can block other menu items with “Admin menu access” add-on.
Yes, I meant that you can share .zip of TG plugin source code with me via DropBox or similar service. I use such code for the investigation purpose and install locally only.
Vladimir
KeymasterHi,
Share this TG plugin copy with support [at-sign] role-editor.com
I will look at its code to answer you, what is possible to do.2nd, alternative way, is to grant ‘manage_options’ to editor role, but use Admin menu access add-on to block admin menu items (like ‘Settings’, etc.), which are not needed to ‘editor’ role.
Vladimir
KeymasterHi Dieter,
You can define admin by few different ways. Select the most suitable for you.
Insert selected code before the 1st unset(…);if ( current_user_can( 'manage_woocommerce' ) ) { // WooCommerce admin return; }if ( is_super_admin() ) { // WordPress super admin - real super admin for network, but just user with 'delete_users' capability for single site installation return; }$lib = URE_Lib::get_instance(); if ( $lib->is_super_admin() ) { // user with 'administrator' role for single site installation and real super admin for network return; }Vladimir
KeymasterHi Dieter,
URE does not include functionality for editing the list of WooCommerce reports available to user.
WooCommerce itself offers to use special filter for this purpose:$reports = apply_filters( 'woocommerce_admin_reports', $reports );Thus it’s possible to hook a function to this filter and remove from the list prohibited reports.
You can not restrict special URL(s) with User Role Editor. Custom code is needed also.
Vladimir
KeymasterFix is available with Beta version 4.50.3.b1 from the same download page after login.
Vladimir
KeymasterThank you very much. I confirm the bug. I will try to offer a fix tomorrow.
Vladimir
KeymasterCan you look via Google Chrome “Developer tools – Network” tab if JSON response from server does not support any not waited error message beyond JSON data structure itself, but it’s clear as at this screenshot?
Vladimir
KeymasterHi,
Even deactivation of URE removes all additional restrictions set for roles and users. But the changes you made to roles (grant/revoke capabilities) are permanent and does not depend from URE presence at your site.
As restrictions for media library items are still in action after URE deletion – the source of a problem is in some other plugin.
-
AuthorPosts