Forum Replies Created
-
AuthorPosts
-
Vladimir
KeymasterYou use at a role level ‘Prohibit’. Check if those 3 users do not have ‘Allow’ at user profile. URE takes user level settings as a primary one and in case user has ‘Allow’ at user level any role settings with ‘Prohibit’ will be ignored.
Vladimir
KeymasterPlease ignore my previous question.
Vladimir
KeymasterIf you go to Posts > Curator Access (in the left menu)
What plugin provides at your site by category menu items under Posts left menu?
Vladimir
KeymasterHi,
All menu items under Appearance menu are protected by the same ‘edit_theme_options’ capability.
1) Grant ‘edit_theme_options’ to a role of your user.
2) Use Admin menu access add-on to block unneeded menu items for this role.Vladimir
KeymasterIt seems a problem is not related to the capabilities granted to a user.
1) Try to switch temporally to the default 2017 theme;
2) Try to deactivate all plugins except WooCommerce and Duplicate Posts;
3) If 2 items above will not show a source of a problem, try to reproduce it on a test data copy or if its not critical, use live data. Provide me a copy of your site files and database. I will install them at my local development environment and find a reason using PHP debug session.Vladimir
KeymasterIt’s strange, that I have another result.
Compare my test role with yours.
Vladimir
KeymasterAs test showed, ‘copy_posts’ capability is enough to product duplication too.
03/06/2017 at 06:10 in reply to: Restrict Author to pick from media library, but not upload media #3805Vladimir
KeymasterUnfortunately, WordPress checks hard-coded ‘upload_files’ permission in order to show/hide “Add Media’ button at the post editor, the same ‘upload_files’ is checked in order to show “Upload Files” tab at the next opened “Add Media” page or give access to “Media Library->Add New” menu item.
So I don’t see a way currently how to solve this task.
Vladimir
KeymasterHi,
Look for ‘copy_posts’ or ‘copy_products’ capability. If it does not exist yet, add it manually. I answer without testing.
Vladimir
KeymasterHi,
Yes, ‘Allow’ applied to taxonomy IDs hides not only posts without allowed taxonomies, but the not allowed taxonomies too.
About users which don’t see any post. Check if there are posts with taxonomies (except prohibited IDs) which these users can edit. URE Pro hides from a restricted user any post, which this user can not edit.
If such post exists, can be edited by a user, but it’s not shown to a user according to edit restrictions you set, can you send me a little example of your posts, user permissions and edit restrictions set for him, in order I can reproduce an issue at my development environment?
Vladimir
KeymasterHi,
Thanks for the purchase. Date is shown in a European format: dd-mm-yyyy, that is your membership will expire at June 1st, 2018.
Vladimir
KeymasterHi JLouis,
Thanks for the clarification.
Recommendation, try to minimize access by revoking unneeded user capabilities from a role 1st. Are ‘edit_posts’, ‘manage_options’ needed for this role?About a problem, try to temporally revoke the 2nd role from this user. Will admin access blocking work as expected after that? I suppose that you can have other admin menu access restrictions on the 2nd role which can conflict with the 1st one. Check the 2nd role for admin access restrictions. If it has them, show me screenshot. Top of a window is important too, to know what do you select “block selected” or “block not selected”.
Vladimir
KeymasterI did not select current role(s) at “Grant Roles” dialog as I positioned this feature for the bulk action. There is no sense to pre-select current roles when action is applied to multiple users at once.
But I agree with you such pre-selection will enhance usability if action is applied to a single user. I will update a code to work this way. Thanks.
Vladimir
KeymasterThere are a lot of other users of User Role Editor which think different – they need multiple roles assignment to one user at WordPress. Historically, I developed this feature after I got multiple requests about it from plugins users.
I will add a user interface for this option (swith ON/OFF other roles section) later.
Currently it’s possible to manage this feature via filters, if your setup it correctly. This is a short demo video.
Check if you don’t have any accident typos in a code and it’s really executed. For example, code above works for the user with ‘user-manager’ role only. Did you change a role ID for your own or may be remove role checking code?
Vladimir
KeymasterAdd this code to your active theme functions.php file or setup it as a Must Use plugin:
add_filter('ure_show_additional_capabilities_section', 'ure_show_additional_capabilities_section'); add_filter('ure_bulk_grant_roles', 'ure_show_additional_capabilities_section'); function ure_show_additional_capabilities_section($show) { if (current_user_can('user-manager')) { $show = false; } return $show; } -
AuthorPosts