Forum Replies Created
-
AuthorPosts
-
Vladimir
KeymasterYou can restrict editing with Edit restrictions add-on.
Look what’s more suitable in your case:
– turn ON “Own data only” option. User will see and can edit just his own posts, where he is an author.
– use categories as the team list and restrict access to the post by unique category ID for every coach. Such restriction will allow to a coach to post just to that specific category and see at the backend just the posts inside that category.19/03/2019 at 15:10 in reply to: Plugin access addon editing doesn't take effect immediately on new users. #5599Vladimir
KeymasterThanks for this report. I will re-test the code, which replicates add-ons data from the main site to the new registered site with roles together.
Vladimir
KeymasterGot a role file from you. Role includes “ure_manage_options” capability. User Role Editor counts a user who has such capability a superadmin and does not apply to him any restrictions. Having this capability user can go to the “Settings->User Role Editor” and switch off “Admin menu access” add-on. What’s the sense to restrict such user some how via URE?
Vladimir
KeymasterHi,
Did you block any admin menu item for this role with “Admin menu access” add-on?
If Yes, pay attention on the tech. details part of the article.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.
-
AuthorPosts