Forum Replies Created
-
AuthorPosts
-
VladimirKeymaster
Hi,
Turn on “deprecated” ‘level_0’, ‘level_1’, ‘level_2’ user capabilities for your custom role.
Detailed explanation is here.VladimirKeymaster1st of all, let’s check if URE Pro is involved into the issue. Will user can edit own post if you deactivate URE?
VladimirKeymasterI sent the discount code to your email address. Use it during purchase Pro Business after login.
VladimirKeymaster1st option, revoke ‘edit_theme_options’ capability the user role.
If for some reason you wish to leave ‘edit_theme_options’ capability to a role, for access to some menu item under ‘Appearance’ menu for example, then,
2nd option, you can enable “Theme Options” admin menu item using “My The7 -> Show theme options in sidebar” checkbox. After that just block “Theme Options” admin menu item using “Admin menu access” add-on. This will automatically block “Theme Options” top admin menu too.
VladimirKeymasterHi,
You were on the right way with
unset( $pages[‘product_filter’]);
The problem is the priority value. ‘Product filter’ plugin adds its tab via ‘woocommerce_settings_tabs_array’ filter with priority 50. So, in order to remove it you have to add the same filter with larger priority, at least 51. So try
add_filter('woocommerce_settings_tabs_array', 'change_wc_settings_tabs', 51); function change_wc_settings_tabs( $pages ) { $user = wp_get_current_user(); if ( in_array( 'your-role', $user->roles ) ) { } unset( $pages['product_filter']); // Product Filter }
VladimirKeymasterHi,
Can you share this theme .zip with support[at-sign]role-editor.com via DropBox or similar service? I will can look at it then. I use such products for the testing purpose only.
VladimirKeymasterHi,
I need access to the “Product Filter” plugin in order to test this. Share its .zip via DropBox or similar with support [at-sign] role-editor.com
I use such products for the investigation purpose only and install at the local development environment.VladimirKeymasterHi,
Block correspondent left site admin menu item revoking user capability or (if you can not) or using “Admin menu access” add-on:
https://www.role-editor.com/block-admin-menu-items
This should block related top admin menu link.VladimirKeymasterHi Fabio,
Thanks for this notification. I confirm the bug. I will fix it with a next update.
VladimirKeymasterIt’s for your choice.
WordPress offers automatically move all content from user you try to delete to other author as an option. If you select it, WordPress will change author for posts, pages and uploaded media from deleted user to a selected one.
If you need to store authors history you can just leave user in the list with no roles assigned.22/08/2020 at 02:20 in reply to: Granted Editor view/edit/delete permissions for pages but they can only see 15 #6993VladimirKeymasterHi,
Look if your editor role is not restricted via edit restrictions add-on.
If it’s restricted and you need that editor can look/edit all posts but restricted list of pages, you can use special ure_restrict_edit_post_type filter to exclude ‘post’ type from the restrictions you set for role or user.19/08/2020 at 11:27 in reply to: How to restrict access by Post ID and other Posts by Taxonomy ID for same user #6991VladimirKeymasterHi,
I looked at the adanderson user and see the former conflict of “Admin menu” settings for 2 roles:
Problem was that “SDoL Page Editor” role has “Admin menu” “Not Selected” blocking model, but “News” role – “Selected”. When URE builds general admin menu for 2 roles it take blocking model from the 1st role and if blocking model of the 2nd role is different then it’s ignored. As a result ‘News’ menu is blocked via “Admin menu” restrictions set for the 1st role.VladimirKeymasterResize image after upload plugin create submenu item “Settings->Resize Image Upload” for every subsite and protect it using ‘manage_options’ capability. In order to block/hide menu item for subsite you have 2 ways:
1) Block it for the main site. Then replicate all roles with admin menu settings together for all other subsites. Go to the “Network Admin->Users->User Role Editor” and click “Update Network”. Pay attention that this operation overrides all roles at all subsites with a copy from the main site.
2) Go to the selected subsite, open URE, select role with ‘manage_options’ capability. “Resize image upload” is available only for such roles. Then block this menu item as you made it at the main site.
VladimirKeymasterI installed NS Cloner from wordpress.org at my test site. It does not show ‘License’ menu item. Do you use a paid (pro) version of NS Cloner?
It would be good to get a link for the image resize plugin too.
VladimirKeymasterHi,
I don’t see such way. Only use a role copy which will not have content view restrictions.
-
AuthorPosts