#8503
TWarrior
Participant

Hi Vladimir,

Great!

If we open in the wish list… there could also be the option to disable o hide “Grant Roles” button at Users list page:

I usually have it deactivated with code:

/*
* Hides “Grant Roles” button at Users list page
*/
add_filter(‘ure_bulk_grant_roles’, ‘ure_bulk_grant_roles’);
function ure_bulk_grant_roles( $show ) {
/* Remove comment if do not wish wish to apply this for administrators also
$lib = URE_Lib::get_instance();
if ($lib->is_super_admin()) {
return $show;
}
*/
return false;
}

PD: The general idea behind all this is that I use your plugin to create a new role called “Manager”, with intermediate permissions between the Administrator and the Editor (something that surprises me a lot that does not come by default in WordPress).

This is the role for people who “manage” the contents of the site and create new users of the site, but can not access the settings, plugins, etc..

Thanks for your plugin!!!