Forum Replies Created
-
AuthorPosts
-
Vladimir
KeymasterI see that a mode of activation is not important. My test shows that Connections->Settings admin menu item is available in case user can ‘connections_change_settings’ capability.
More, plugin has own role editor – Connections->Roles, available to user who can ‘connection_change_roles’.Look again if some of capabilities started from ‘connections_’ was missed for a role at subsite. I don’t see another reason without deep investigation of CBD plugin code.
Vladimir
KeymasterIf this is applicable, you may send admin login credentials to support[at-sign] role-editor.com (better if you have a stage copy of the site). I will investigate this.
Vladimir
KeymasterURE does not include such functionality.
You can use another plugin for this purpose:Vladimir
KeymasterCompare if you have the same choice for “the Settings->User Role Editor->Additional Modules” ->”Force custom post types to use their own capabilities” option at all 3 different sites.
Vladimir
KeymasterHi,
Is CBD plugin network activated?
Or do you activate it for every site separately?Vladimir
KeymasterHi,
Look at this add-on:
https://www.role-editor.com/block-admin-menu-itemsVladimir
KeymasterTry grant to a role the deprecated ‘level_1’ capability, and ‘manage_options’ capability, in addition to all capabilities, started from ‘rank_math_’.
Vladimir
KeymasterThanks for the clarification. I just returned to office. Let me make some tests with this app.
Vladimir
KeymasterEdit restrictions should work if app uses WordPress built-in WPQuery to extract data from the database. I see few different plugins which offers to built WP app for WordPress site. Which one do you use?
Vladimir
Keymaster“Tools->WP Mail Log” menu item is protected by ‘manage_options’ user capability.
Vladimir
KeymasterHi,
Is “WP Mail logging” available at wordpress.org/plugins? If Yes, send the link.
Vladimir
KeymasterThis problem is not related directly to the user permissions. But comes from how WordPress checks if user has access to the an admin page. WP checks if user has access to the admin menu item correspondent to the admin page, but if it’s not defined shows the access error message event if user has full access to this custom post type.
at the end of wp-admin/includes/menu.php:if ( ! user_can_access_admin_page() ) { /** * Fires when access to an admin page is denied. * * @since 2.5.0 */ do_action( 'admin_page_access_denied' ); wp_die( __( 'Sorry, you are not allowed to access this page.' ), 403 ); } $menu = add_menu_classes( $menu );
You can find function
user_can_access_admin_page()
at wp-admin/includes/plugin.php file and look how many criteria WP checks for admin page access, not only related user capability.You need to investigate how correctly define admin menu to show custom post type from there, not from the default WP menu for CPT. May be look to some other plugin code, which make something similar.
Vladimir
KeymasterYes, follow this article:
Vladimir
KeymasterHello Valentin,
Is it possible to get access with admin credentials to your site (it would be a stage copy without critical data), from which I can take a copy of database, plugins and themes folders using UpdraftPlus plugin? I need install it at own local development environment to search a reason of the issue and prepare the fix. I use such copies in the investigation purpose only and remove after finishing work with them.
Vladimir
KeymasterI think, this is more specific case than universal one, in order to add it as a feature to the plugin. So I do not plan make this.
-
AuthorPosts