Forum Replies Created
-
AuthorPosts
-
Vladimir
KeymasterEmpty page can be a sequence of PHP fatal error.
Can you look at PHP errors log file at the server where you have a problem?
May be activate temporally WordPress debug mode: https://codex.wordpress.org/Debugging_in_WordPressIt will show a source of a problem in case a PHP fatal error takes place.
04/04/2017 at 05:48 in reply to: Delegate role assignment(selected few not all Roles) to a custom user role #3513Vladimir
KeymasterHi,
User Role Editor hides ‘Administrator’ role from non-administrator users (users without ‘administrator’ role) by default.
If you wish to hide from such user another roles you can use “Other roles access” add-on.Vladimir
KeymasterHi Did,
The recent update does not contain any related changes. I suppose that something else was changed at your site.
The most popular reason when user can not login without manage_options and edit_posts capabilities is an active WooCommerce. Read this post. Check, may it is exactly your case.
Vladimir
KeymasterHi,
Thanks for the information. I will wait a result.
Vladimir
KeymasterI get the ordinal 404 page (like 404.php from 2017) from the active theme with the same setting for post: for not logged-in user or for logged-in user with role not allowed for this post tries access page’s URL directly.
Did you try a WordPress default 2017 theme?
Vladimir
KeymasterUser Role Editor Pro includes a ‘Content View Restrictions‘ add-on which (since activated) allows to manage what roles can see what posts as at the post level, as at the role level.
Vladimir
KeymasterHi Giacomo,
Thanks for the good feedback.
You found a real bug. Thanks a lot. I confirm the case when these settings for post:
“Prohibit View – All visitors – Show access error message” returns 404 error instead of showing a globally set error message. I will re-test all options and publish the update in the 1st week of April.I always get a 404 page from the active theme for ‘Return 404 HTTP error’ option although.
Show a screenshot of the settings you made for your post which produces unexpected result. I will test them with a double attention.
Vladimir
KeymasterGrant ‘manage_options’ to this role and restrict admin menu available to it via “Admin menu access” additional module.
Vladimir
KeymasterYou should grant ‘activate_plugins’ to role or user only in case you really wish that a user activate plugins. If you need to grant access to the menu created by some plugin, you have to grant other capabilities almost in 100% of cases.
I need a plugin copy to check what permissions it requires. You can send a .zip directly to support [at-sign] role-editor.com in case it’s a commercial product.
Vladimir
KeymasterThere is no public API or PHP function currently.
If you wish to build it yourself you can start from URE_Lib::wp_api_network_roles_update(), located at includes/classes/ure-lib.php.Vladimir
KeymasterThere is a difference:
– ‘Apply to All Sites’ replicates to subsites a currently selected role only.
– ‘Update Network’ replicates all existing roles from the main site to the subsites. Any subsite role which is not available at the main site is dropped. So this function is to synchronize all network permission.Vladimir
KeymasterWPML menu is protected by these user capabilities:
– WPML wpml_manage_languages
– Languages wpml_manage_languages
– Theme and plugins localization wpml_manage_theme_and_plugin_localization
– Translation options wpml_manage_translation_options
– Support wpml_manage_support
– WP Menus Sync wpml_manage_wp_menus_sync
– Taxonomy Translation wpml_manage_taxonomy_translationRemove from user (role) a related user capability to remove menu item from a menu available to him.
I think that a ‘pencil’ (edit language translation) is greyed out as a user can not edit this post or related translation as it was created by other user. Test under user with ‘edit_others_posts’ capability.
Vladimir
KeymasterHi Amit,
I restored a site from your backup. You have 1 form with ID 4. You restricted a user businessowner01 to see the only form with ID=4. Other user businessowner02 does not have any restrictions. That’s why he sees form with ID=4. If you add a new form with ID=5, and set a similar restriction for the user businessowner02 in order he will see just the form with ID=5. He will not see any other form then. While a restriction field is empty for a user, this user sees all existing forms.
Be aware that using the different role management plugins simultaneously can lead to the problem as they play on the same field and may conflict in some cases. I see that you have a ‘Members’ plugin in a active state.
Vladimir
KeymasterHi,
1) network activate URE;
2) turn ON ‘Allow non super administrators to create, edit, and delete users’ option at ‘Network admin->Settings->User Role Editor->Multisite’ tab;
3) create new role, e.g. user_manager, at the main site via ‘Network Admin->Users->User Role Editor’;
4) add to it these capabilities: read, list_users, create_users, edit_users, delete users, promote_users, remove_users.
5) click ‘Update Network’ button to replicate this role to all subsites of your network.
6) assign this role to a user via ‘Network Admin->Users’: click ‘Capabilities’ under selected user row.
7) add this user with permissions granted together to all subsites of a network – click ‘Update Network’.You need to repeat the replication steps (Update Network) for role and user after a new subsites was added.
Vladimir
KeymasterI make support work via off-line tools only.
You can send to my e-mail download links to .zip with your local WP installation files copy and exported MySql-database file. I will try to reproduce your issue at my own local environment then.
-
AuthorPosts