Forum Replies Created
-
AuthorPosts
-
VladimirKeymaster
Hi Fred,
Currently such feature is not available with URE Pro. It’s on the development queue though. I hope it will be available in 1-2 months.
VladimirKeymasterThanks for you help with resolving this.
VladimirKeymasterThanks for contacting Varktech on your side.
VladimirKeymasterThanks, I will ask a copy from you if needed.
Varktech placed this warning into a free version too. So I will test it, 1st.VladimirKeymasterHi,
There is no response from Varktech at the related forum thread.
Btw, I compared new roles added by Members plugin:
s:4:"test";a:2:{s:4:"name";s::"Test";s:12:"capabilities";a:1:{s:4:"read";b:1;}}
and by User Role Editor plugin:
s:4:"test";a:2:{s:4:"name";s:4:"Test";s:12:"capabilities";a:2:{s:4:"read";b:1;s:7:"level_0";b:1;}}
As you see the only difference is that URE adds “deprecated” ‘level_0’ capability, but Members does not. So called ‘deprecated levels’ are still a subject for discussion as WordPress continues to use them:
So I just wonder to this moment, what was a reason for Varktech to use ‘poisoned’ word in relation to the URE’s created roles.
I plan make my own tests of Pricing Deals plugin with URE’s and Members created role to get a full picture.VladimirKeymasterLuke,
I suppose that you installed it correctly as a must-use WP plugin.
PHP file should be readable/executable by your web server. It’s content should start from <?php tag. Check if user does not have a ‘manage_network_plugins’ capability.I tested exactly this code at my test WordPress multisite, where it works as expected – URE menu items does not appear under WP Network Admin.
Other workaround – you may replace ‘manage_network_users’ at line #239 of includes/classes/ure-lib.php to some other critical network capability, like ‘manage_network_plugins’.
VladimirKeymasterRole is included into the list for deletion just if it is not assigned to any user. If you wish to delete some role, which you don’t see at this list, you should revoke it from your users 1st.
VladimirKeymasterHi Luke,
Historically a user with ‘manage_network_users’ capability is a superadmin for the User Role Editor under WordPress multisite. I see that in rare cases as yours it should be changed and I will do it with one of the next update.
Workaround – take a code below, insert it into the separate .php file and place that file into wp-content/mu-plugins/ folder:
<?php add_action('plugins_loaded', 'remove_ure_from_network_menu'); function remove_ure_from_network_menu() { if (current_user_can('manage_network_plugins')) { return; } remove_action('network_admin_menu', array($GLOBALS['user_role_editor'], 'network_plugin_menu')); }
VladimirKeymasterIt’s difficult to make assumption about a reason without access to the theme. You may send its copy to support [at-sign] role-editor.com for the evaluation.
Please show on the screenshot, what part is not available to non-admin users.
What role did you assign for such user?VladimirKeymasterYou are right. My apologies – I had ‘Force custom post types to use their own capabilities’ option turned ON at my test site User Role Editor Settings page. So I had a different picture and misleaded you, slightly I hope.
By default, ‘WordPress Team Manager’ uses the same capabilities for its CPT ‘team_manager’ as WordPress does for the posts.
Let’s start from the very begin. Do you as admin see at the ‘Team’ menu some list of the members with different groups? User with ‘editor’ role should see them all also.
For example:
If you activated ‘Activate user access management to editing selected posts, pages, custom post types’ option at URE’s Settings, you should see the ‘Posts Edit’ button at the User Role Editor. If you open it for the ‘Editor’ role and input some groups ID (comma separated) there, you will see as the Editor just members from those groups.VladimirKeymasterI got the plugin copy. Thanks. I will contact you as I will get a new information.
VladimirKeymasterYou may input ‘team_managers’ into the the quick filter field at the ‘User Role Editor’ and look for the highlighted set of user capabilities for the ‘team_managers’ CPT at the ‘Custom capabilities’ section.
VladimirKeymasterNo problem.
I mean if you’re familiar with the built-in capabilities for the ‘posts’: edit_posts, publish_posts, edit_others_posts, delete_posts, etc. you may simply build the capability name for the ‘team_managers’ custom post type (CPT), take ‘delete_posts’ and replace ‘posts’ with ‘team_managers’ and receive ‘delete_team_managers’ as the permission for the deletion of Members added by the user himself.
You may check this way if your role contains all needed capabilities for the ‘team_managers’ CPT or it does not.VladimirKeymaster‘WP Team Manager’ uses ‘team_managers’ based capabilities set, like ‘edit_team_managers’, ‘edit_others_team_managers’, just replace ‘posts’ to ‘team_managers’ to get the full list of capabilities you may need to get the full access to this custom post type.
If content is created by some other user – members are added to the team by one user, and you wish to restrict access for the other user, you should give to him the access 1st (‘edit_others_team_managers’ capability in this case) and only then to restrict those access for special groups/categories for him.
VladimirKeymasterHi,
Groups is the custom taxonomy for the team_manager custom post type, like Categories for the posts. So you may use ‘content edit restrictions’ additional module to restrict edit access for the user directly or via role. You may input groups ID list, to which you allow or block the edit access.
-
AuthorPosts