Vladimir Garagulya
Forum Replies Created
-
Forum: Plugins
In reply to: [User Role Editor] Language conflictHi Kelly,
I will check roles view with French language and active WooCommerce.
As administrator you should can grant to a user any role.
If you login as a shop manager then, by default you can grant another user only ‘customer’ role. This post helps to change this.
Forum: Plugins
In reply to: [User Role Editor] access with /wp-adminThe ‘read’ capability is responsible for access to WordPress backend or /wp-admin/
Forum: Plugins
In reply to: [User Role Editor] Limiting WooCommerce shop userThis article may help:
https://www.role-editor.com/woocommerce-view-edit-orders/Forum: Plugins
In reply to: [User Role Editor] Non-Admin users cannot change fonts In Web Stories Plugin?Thanks for the clarification. I tested with editor role. Fonts drop-down list is available. Try to test with all plugins deactivated (except WS) will it help? If Yes, activate plugins back one by one with a new test to isolate a reason of the problem.
Forum: Plugins
In reply to: [User Role Editor] Non-Admin users cannot change fonts In Web Stories Plugin?Show the screenshot to what part of WS plugin UI you can not get access?
Forum: Plugins
In reply to: [User Role Editor] Non-Admin users cannot change fonts In Web Stories Plugin?I suppose you use User Role Editor. If you don’t, install, activate it, go to Users->User Role Editor. Click ‘Add capability’, input ‘read_post’. Save changes. Grant this capability to your role.
Forum: Plugins
In reply to: [User Role Editor] Non-Admin users cannot change fonts In Web Stories Plugin?It does not exist by default. Add it manually.
Forum: Plugins
In reply to: [User Role Editor] Non-Admin users cannot change fonts In Web Stories Plugin?Btw., I get ‘not enough permissions’ message when tried to add new story as superadmin just after WS plugin activation. Error was gone after I added the ‘read_post’ capability.
Forum: Plugins
In reply to: [User Role Editor] Non-Admin users cannot change fonts In Web Stories Plugin?Did you test a copy of administrator role?
At least re-check if these capabilities were granted:
read_post
manage_options
upload_filesincludes/Admin/Admin.php:150: if ( ! current_user_can( 'read_post', $post_id ) ) { includes/Admin/Admin.php:229: if ( ! current_user_can( 'read_post', $post_id ) ) { includes/Admin/Dashboard.php:481: 'canManageSettings' => current_user_can( 'manage_options' ), includes/Admin/Dashboard.php:482: 'canUploadFiles' => current_user_can( 'upload_files' ), includes/Admin/Editor.php:385: 'hasUploadMediaAction' => current_user_can( 'upload_files' ), includes/Admin/Editor.php:386: 'canManageSettings' => current_user_can( 'manage_options' )Forum: Plugins
In reply to: [User Role Editor] Error Log: Attempt to read property “ID” on nullThank you for your support. I finished with this version for this piece of code:
if ( !isset( $profileuser->ID ) ) { return; } $current_blog_id = get_current_blog_id(); // editing a user profile: it's correct to call is_super_admin() directly here, as permissions are raised for the $current_user only if ( !$this->lib->is_super_admin( $current_user_id ) && is_super_admin( $profileuser->ID ) ) { // trying to edit a superadmin while himself is less than a superadmin wp_die( esc_html__('You do not have permission to edit this user.', 'user-role-editor') ); } elseif ( !( is_user_member_of_blog($profileuser->ID, $current_blog_id ) && is_user_member_of_blog( $current_user_id, $current_blog_id ) ) ) { // editing user and edited user aren't members of the same blog wp_die( esc_html__('You do not have permission to edit this user.', 'user-role-editor') ); }- This reply was modified 3 years, 8 months ago by Vladimir Garagulya.
Forum: Plugins
In reply to: [User Role Editor] Problem with user roles after removing the pluginIt’s not possible. URE writes changes directly to the same database record where WordPress stores its user roles. These changes are permanent.
Forum: Plugins
In reply to: [User Role Editor] Single PageHi,
Sorry, it seems prnt.sc is not available for me.
Btw., it would be better to ask Pro version related questions using dedicated forum or support email address.
Forum: Plugins
In reply to: [User Role Editor] Error Log: Attempt to read property “ID” on nullThank you. I will add the fix.
Forum: Plugins
In reply to: [User Role Editor] Not working with WP 6.0.2Give more details what does not work, how User Role Editor is involved?
Forum: Plugins
In reply to: [User Role Editor] How to give editor access to just one pageIt’s possible with “edit restrictions” add-on included into Pro version.