Forum Replies Created
-
AuthorPosts
-
28/02/2022 at 04:33 in reply to: avoid non-admin user to make modifications on already accepted Product #7838
Vladimir
KeymasterHi,
Unfortunately it’s not a question of user permissions. It’s more a question of the post/product flow programming. WordPress built-in post flow includes states: draft, pending (not visible to public and wait for moderation), published. If user can not publish a product, he can move it into a pending state and wait for moderation. Such product is not visible to a public.
In order to use/realize another logic of product flow and/or states changing you need to use special plugin.Vladimir
KeymasterTo @colli239,
Show the error message. You can switch WordPress to debug mode to write it into the debug.log file: https://wordpress.org/support/article/debugging-in-wordpress/
Vladimir
KeymasterUnfortunately, No. Or just delete theme and create again as a copy of existing one.
Vladimir
KeymasterHi,
Exported file contains role ID/name inside.
Workaround – after you import role editor_poland, click ‘Add Role’, input new ID, name, and select “editor_poland” at the “Make copy of” drop-down list. That’s it.
Vladimir
KeymasterHi,
There is no any auto renew or auto billing. You will need make new purchase manually if you need to prolong a subscription/membership.
You can keep using plugin after membership expiration. It will work until stay compatible with future PHP/WordPress updates. You will lose only updates and support if decide to not prolong a subscription.
Vladimir
KeymasterI installed and activated SG Security plugin. Then I activated/deactivated/reinstalled few times URE Pro without any trouble and fatal error generated by SGC plugin.
The only way when I got a similar issue, when I tried to activate URE Pro having active free version of URE at the same time. Deactivate free version of URE before install/activate URE Pro. Read this article for more information.
Conclusion, URE Pro can work with SGC plugin together without trouble. In the case described above URE shows admin notice via ‘admin_notices’ WP built-in action. But active SGC generates fatal error. The reason is a questions to SGC developers.
Workaround – deactivate all URE versions (via WordPress or temporally rename URE plugin folder and open “Plugins” page), then activate URE Pro.
Vladimir
KeymasterI did not work on it yet. I see that it’s almost a year to this request. It’s time realized it. Let’s wait a bit more, for the next update.
Vladimir
KeymasterFor example, ‘manage_options’ protects the “Settings” admin menu which belongs to WordPress itself. A lot of plugins places its options pages under this menu also.
You may send stage site credentials directly to support [at-sign] role-editor.com
Vladimir
Keymaster@TrinWEb,
Can you give more details with problem under PHP 8.0 – error messages at the server log file after switching WordPress to debug mode, browser JavaScript Developer Tools Consol and/or Network panel error messages?Vladimir
KeymasterHi Daniel,
URE “Admin menu blocking” works with the static admin menu created by plugins in a classic static way. URE saves a copy of the full admin menu available for the ‘administrator’ and then allows to select what to hide from the list of those menu items.
Learndash builds some submenu dynamically in relation of what page/post is selected currently. “Transactions” menu item is between them. It’s protected by ‘manage_options’ user capability:
define( 'LEARNDASH_ADMIN_CAPABILITY_CHECK', 'manage_options' );
Clarify with ‘Design->Customizer”, which you can not hide. Is this menu item created by your custom theme? In this case I need access to the theme source code .zip in order to try repoduce the issue.
Vladimir
KeymasterHi,
Code is still available at the mentioned article. It does not remove any roles and/or admin menu items.
Check if this option checkbox is not turned ON accidentally for the ‘administrator’ role.
Refresh your site caching support (plugins and system routine, like CDN, etc.).Vladimir
KeymasterHi Harald,
It depends from what kind of restriction do you need to apply:
1) If you wish restrict by MLA doc-category editing of media library items, you can use “Edit restrictions” add-on. Just input categories list ID into the user profile or user role.
2) There is the “Content view restriction” add-on, which allows to manage who can view post/page content at front-end, including a category level. But you need to take into account here, that this add-on hides the post content only – the description for media library item. So if image is attached to the post you have to restrict the view of the whole post itself or the part of post with the image inside using shortcode. URE does not restrict view of media library item (image, PDF file, etc.) via direct URL. It works with the post content only.Vladimir
KeymasterHi,
Thanks for letting me know.
Really, URE shows the admin menu from the main site under the “Network Admin”. The most probable reason – you would go to the main site 1st, in order URE can remember the admin menu from the main site and then show it to your under the “Network Admin”.Vladimir
KeymasterHi,
User Role Editor has “administrator protection” feature turned ON by default. It hides ‘administrator’ role and other users with ‘administrator’ role from all users who can edit other users, but has ID not equal 1.
It’s possible to switch off this feature via filter. Add this code to your active theme functions.php file or setup it as a Must Use plugin://—
// Switch off URE’s protection of users with ‘administrator’ role from each other and other users with ‘edit_users’ capability
add_filter( ‘ure_supress_administrators_protection’, ‘switch_off_ure_admin_protection’, 10, 1);
function switch_off_ure_admin_protection( $switch_off ) {
$switch_off = true;
return $switch_off;
}
//—Vladimir
KeymasterSubmenu “WooCommerce->PickingPal’ is protected with ‘edit_published_pages’ user capability.
-
AuthorPosts