Forum Replies Created
-
AuthorPosts
-
Vladimir
KeymasterCan I look at your site with admin privileges? If Yes, send URL, user/password to support [at-sign] role-editor.com
Vladimir
KeymasterHi,
Just to check, will issue go away if you unblock access to the built-in ‘Posts’ menu item?
Vladimir
KeymasterDid you block some menu items for this role using “Admin menu”? If Yes and use ‘not selected’ blocking model, try to switch to ‘selected’ as a workaround or read carefully last part of the documentation article “Technical details” in relation to “Block not selected” variant.
Vladimir
KeymasterHi,
Is it possible to look at your site with administrator privileges? If ‘Yes’, send user/password and site URL to support [at-sign] role-editor.com
Vladimir
KeymasterYou can activate “Admin menu access” add-on:
https://www.role-editor.com/block-admin-menu-items
select ‘Administrator’ role at Users->User Role Editor and look, what capability is used by plugin to protect its menu item(s).Vladimir
KeymasterCan you save such changes as a user with custom role in case you switch Off “Admin menu access” checkbox in the URE Settings temporally?
If ‘Not’ problem may be not related to URE, but to JavaScript/AJAX error. Look for any error messages in the browser JavaScript console.
08/05/2020 at 11:32 in reply to: How can i asign or create one rol who can change from one member type to other #6823Vladimir
KeymasterIt’s possible to allow to a user with one role to edit only users of the selected role(s). Look at the “Other roles access” add-on. I think you can use it as a workaround for your task.
For example, use different roles: Role A, role B. Grant to role A list_users, edit_users and allow it access to the users with role B only…
Vladimir
KeymasterIf you use “Not Selected” model, pay attention of the final part “Technical Details” of the article:
Vladimir
KeymasterCustom code may help only. New user is registered via WordPress internal function wp_insert_user(). This function executes special action:
/** * Fires immediately after a new user is registered. * * @since 1.5.0 * * @param int $user_id User ID. */ do_action( 'user_register', $user_id );Thus, it’s possible to hook own function to ‘user_register’ action and add secondary role to user according to his primary role.
08/05/2020 at 02:15 in reply to: How can i asign or create one rol who can change from one member type to other #6818Vladimir
KeymasterHi,
Are member types the user roles?
Vladimir
KeymasterHi Laurent,
Thanks for the information.
URE is not network activated at your WP multisite. Thus you have to work with URE settings separately for every site where you activated URE.
I went to the main site “Settings->User Role Editor->General” tab and found that “Show Administrator role at User Role Editor” checkbox is turn OFF as it is by default. URE hides ‘administrator’ role from the user in this case. I turned this checkbox ON and ‘administrator’ role is available for selection now at the main site. If you need the same at the subsite you have to make the same at the URE settings.Other way – network activate URE and make needed settings once at the Network Admin->Settings->User Role Editor.
Vladimir
KeymasterHi Laurent,
If it’s possible to look at your site with superadmin privileges, send URL and user/pwd credentials to support [at-sign] role-editor.com
Vladimir
KeymasterYes, WPForms (I tested WPForms Lite) uses ‘manage_options’ capability by default for all its menu items. Good news that WPF does not check ‘manage_options’ directly, but makes it via function wpforms_get_capability_manage_options(), which allows to replace ‘manage_options’ with any other capability using custom filter ‘wpforms_manage_cap’. Try to add own piece of code to the active theme functions.php file or setup it as a must-use plugin:
function replace_wpf_cap( $cap ) { return 'capability_of_your_choice'; }You can add custom capability ‘wpf_edit_forms’, for example and use it in this filter.
I do not exclude that WPF Pro may use another permissions for its menu items and pages.Vladimir
KeymasterUser Content view restrictions add-on.
You need 1st to add restrictions for all pages which should not be viewable by not logged-in users – open page for editing and select for it at least “Any User Role (logged in only)” at the “Content view restrictions” section.
Then you can allow to the selected role to view the selected pages by ID list – via Users->User Role Editor. Or make it directly for the every page – selected at the page editor which roles can view this page. -
AuthorPosts