My server (Cloudwways) installs, under the mu-plugins folder, the Object Cache Pro plugin. The plugin page is under the Settings admin menu. User Role Editor Pro does not recognize it under Admin Menu module, while even though I disable it under custom capabilities the plugin page still loads in the admin menu and the user has access to it.
Enabling it in custom capabilities, it appeared in Admin Menu, so then I could remove it and stop it from showing in the Settings menu. The only problem is that it remains in Home -> Dashboard as a screen element.
Thanks.
Plugin uses own ‘objectcache_manage’ capability. Look if your role contains this capability and revoke it. Also plugin automatically allows this capability to user with ‘install_plugins’ capability, e.g. administrator one.
If you revoke objectcache_manage capability it stops appearing in the “Admin Menu” module in User Role Editor, in order to deselect it and remove it from the admin dashboard Settings submenu.
Yes, because of this menu item becomes unavailable for user which can not objectcache_manage capability. In this case there is no need to select/unselect it via “Admin menu” in URE.