Forum Replies Created
-
AuthorPosts
-
Vladimir
KeymasterHi Michael,
Yes, there is a way to allow specific pages/posts and ALL events simultaneously. You need to know a custom post type ID of ‘Event Espresso Events’ post type (as it uses at register_post_type() function) to use it in ure_restrict_edit_post_type custom filter provided by URE Pro.
Vladimir
KeymasterHi,
Do you have any information about “WP MF” installations quantity? Is this plugin popular enough to take it into account?
Can you provide me a copy of the latest version of “WP MF” plugin for investigation? If Yes, use Google Drive or DropBox for sharing .zip with support [at-sign] role-editor.com
I setup copies of commercial products from my clients at the local development environment only and use them for testing/investigation purpose only.
Vladimir
KeymasterHi @rheinstars-loeln,
try to add this code to your active theme functions.php file:
add_filter('ure_restrict_edit_post_type', 'exclude_attachments_from_edit_restrictions'); function exclude_attachments_from_edit_restrictions($post_type) { $restrict_it = true; if (current_user_can('author')) { if ($post_type=='attachment') { $restrict_it = false; } } return $restrict_it; }
Replace ‘author’ role inside with any other role, for which you need allow access to all attachments in spite of edit restrictions set for posts or pages.
Vladimir
KeymasterIt’s not related to URE Pro. You can deactivate it and re-check.
It could be a caching issue. Check if it will still exists after 12 or 24 hours.
If it’s not related to an older cache and will bother you as a persistent issue, try to deactivate plugins one by one to isolate a conflict reason.
Vladimir
KeymasterDo they search posts? Send me full URL (without domain but with arguments) where redirection takes place. You can make it under admin to copy resulting URL.
Vladimir
Keymaster@sunny, I repeated this issue. Thanks. I will fix it with the next update.
Quick workaround – use “Block selected” model and “Admin menu” restrictions for this role.Vladimir
KeymasterDescribe how it does not work. What’s going wrong? Does user redirected to the admin dashboard or something else?
Vladimir
KeymasterHi,
Thanks for the additional information provided by e-mail.
I confirm the bug you found. User Role Editor Pro “Front-end menu access” add-on removes one of the front-end menu items with the same title during menu saving. I will fix it with the next update.
Vladimir
Keymaster‘Admin menu’ shows menu items, which are available for the current role only.
It does not provide access. It allows to block menu items to which you can not revoke access from a role via user capabilities.For example some plugin uses ‘manage_options’ to protect its menu. When you grant ‘manage_options’ to a role, it receives access to the ‘Settings’ and some other menus from other plugins too. In order to narrow the access inside ‘manage_options’ capability you can use ‘Admin menu’.
So, 1st, you work with user capabilities, then build more granular access with ‘Admin menu’.
Vladimir
KeymasterHi,
Do you write about this “Max Mega Menu” plugin?
Show a screenshots with menu and item, which can disappear if select “Show to: NOT logged in”. I will try to reproduce your menu for testing.01/09/2017 at 05:00 in reply to: Seprating the Page IDs and Custom Post Type IDs when "allowing or prohibiting" #4116Vladimir
KeymasterHi Garrett,
This filter is still available. Check if it was not changed something at its definition at your side.
01/09/2017 at 02:57 in reply to: Keeping Custom Roles in Sync with Role from which it was Originally Created #4114Vladimir
KeymasterIn case you extend an initial role: make a copy from it, then add some additional capabilities, such synchronization would be achieved via multiple roles assignment to a user: initial role, 2nd role with additional capabilities. User will have a full list of capabilities as a result. Any updates applied to an initial role will be applied to such user automatically.
If you start from an initial role in order to narrow its capabilities list, then auto sync of new role with an updated initial role to difficult to realize, as you never know what to change automatically.
WordPress changes default roles very rare. It’s not too difficult to monitor such changes and add/revoke 1-2 capabilities manually after one of WordPress core updates was installed.
I do not see a need in a described functionality according to all of written above.
Vladimir
KeymasterUse “Other roles access” add-on and block WP default roles for “Custom Administrator” role.
Vladimir
KeymasterI suppose that you did not set any additonal restrictions with URE Pro edit restrictions add-on for the editor role copy.
The most probable thing which may take place – some other plugin is involved here. Can you deactivate all plugins temporally and check if other post are editable for new editor role?
If Yes, then activate plugins back one by one and re-test to isolate a problem.Vladimir
KeymasterThanks. I will change this in a next version.
-
AuthorPosts