Forum Replies Created
-
AuthorPosts
-
13/05/2017 at 13:03 in reply to: Role for Woocommerce that only allows Order Management & FedEx Package Creation #3710VladimirKeymaster
You can use view_admin_dashboard capability for access to wp-admin with active WooCommerce. Read this article for more details.
13/05/2017 at 13:01 in reply to: Role for Woocommerce that only allows Order Management & FedEx Package Creation #3709VladimirKeymasterGot a plugin. I will look at it.
13/05/2017 at 01:36 in reply to: Role for Woocommerce that only allows Order Management & FedEx Package Creation #3702VladimirKeymasterWooCommerce->Settings is protected by ‘manage_woocommerce’ capability.
1) you can revoke it from a role to exclude this menu item from user access;
or
2) if you need to leave access to other menu items protected by the same capability (System Status, Extensions), you can use Admin menu access add-on to block this menu item.I need access to WooCommerce FedEx plugin in order to check what permissions it requires to print labels. You can send its copy to support [at-sign] role-editor.com
I install such products at local development environment and use for testing/investigation purpose only.VladimirKeymasterHi Fred,
Check that all URE Pro files are copied to the live environment. It seems that some files are missed or have wrong permissions.
Error message is about class defined at this file: user-role-editor-pro/includes/plugin-update-checker.phpCompare PHP version also. Your live environment can have an older PHP version.
VladimirKeymasterHi,
“Settings” menu is protected by ‘manage_options’ user capability.
‘manage_options’ is used by other plugins. If that’s needed, you can block menu items unneeded to ‘editor’ role using Admin menu access add-on.VladimirKeymasterUser Role Editor does not offer a redirection option currently. Look at redirection plugins from wordpress.org/plugins repository.
Thanks for suggestion. As you are not the 1st person who asked about a redirection feature instead of HTTP 404 or simple access error message, I will consider to add it to one of a future updates.VladimirKeymasterHi,
URE does not restrict its functionality at localhost. I tried and could not repeat an issue. Category ID was saved as expected.
Pay attention that code expects a digital category ID (e.g. 12), not its character slug (e.g. ‘member-posts’). Go to the Posts->Categories page, take category ID from there and input it as a restriction for a selected role.
VladimirKeymasterThis shows that you don’t have custom post types which use user capabilities different from defined by WordPress for posts: edit_posts, etc.
If you wish to force all existing custom post types to use their own user capabilities, like ‘edit_videos’ for ‘videos’ custom post type, etc., then go to “Settings->User Role Editor->Additional Modules” and turn ON the “Force custom post types to use their own capabilities” checkbox.
Pay attention then Media Library items will require ‘edit_attachments’, instead of ‘edit_posts’ after that.
VladimirKeymasterHelp me to look at a right part of a JetPack, show screenshot of a widget you write about.
I don’t use JetPack myself, show let me know if I have to install this widget as some add-on, etc.05/05/2017 at 03:42 in reply to: Unwanted dashboard redirect when 'settings-updated' is present #3679VladimirKeymasterHi Frederick,
You can use this code to add additional arguments to allowed list for this page:
add_filter('ure_admin_menu_access_allowed_args', 'ure_allow_args_for_oxfam_options', 10, 1); function ure_allow_args_for_oxfam_options($args) { $args['admin.php']['oxfam-options'] = array( 'page', 'settings-updated' ); return $args; }
Install it as must use plugin or add to funcitions.php file of active theme.
VladimirKeymasterOK.
VladimirKeymasterHi,
There is a special public method, which you can call to check if user can view a post or not:
URE_Content_View_Restrictions::current_user_can_view($post_id)
Unfortunately, it works incorrectly for some restriction settings, as discovered recently. I work on a fix. It will be available next week.
03/05/2017 at 16:49 in reply to: Access to "user access management to editing selected posts, pages…" #3672VladimirKeymasterHi,
Add ‘ure_edit_posts_access’ to your micro-admin role.
03/05/2017 at 16:41 in reply to: Custom User Role Admin Menu Permission can't access to second layer #3671VladimirKeymasterThanks for letting me know.
VladimirKeymasterHi,
What permissions do you wish to check: edit or view?
-
AuthorPosts