Vladimir Garagulya
Forum Replies Created
-
Forum: Plugins
In reply to: [User Role Editor] Reset Editor Role OnlyYou can just revoke all capabilities from ‘editor’ role (use group selection checkbox at the top. Shift+Click – unchecks all capabilities).
Then grant to it capabilities according to WordPress initial capabilities list for editor role role.Forum: Plugins
In reply to: [User Role Editor] Unable to assign NEW role TO default roleDefault role is used in 2 cases:
1) if WordPress does not get role value before adding new user.
2) automatically select role at drop-down list at the ‘add new user’ page.During login process WordPress checks role granted to user. So if you get error message after login, may be you have to add some permission to your new role. For example, ‘read’ capability is critical for access to wp-admin.
Describe with more details what are you unable to do.
Forum: Plugins
In reply to: [User Role Editor] Allow media uploadIf you use woocommerce, create capability ‘view_admin_dashboard’ and grant it to this user role. It will allow user access to <wp-admin>.
Forum: Plugins
In reply to: [User Role Editor] Capability to change user rolesHi,
WooCommerce filter out other roles by default. In order to fix it you can use custom filter. Solution is described at the 1st message of this topic.
Forum: Plugins
In reply to: [User Role Editor] Embedde videos are deleted when shop manager edits a pageHi Catty,
This is done by WordPress automatically for any user who can not ‘unfiltered_html’ capability. Grant it to a role with care. You should trust enough to such user. It will work at single site WordPress installation.
Forum: Plugins
In reply to: [User Role Editor] Critical Error after updatingActivate WordPress debug mode with writing error message to log file and show error messages related to the User Role Editor.
Add these lines to wp-config.php
define( 'WP_DEBUG', true ); define( 'WP_DEBUG_LOG', true );Errors will be written to wp-content/debug.log file.
Forum: Plugins
In reply to: [User Role Editor] Allow media uploadHi,
In order ONLY upload new images to media library is enough 2 capabilities:
read
upload_files
But in order to edit uploaded media library item attributes user should can at least ‘edit_posts’ capability. In other case image file will be uploaded and available at Media Library, but upload process will be interrupted every time at the ‘Crunching…’ state.Forum: Plugins
In reply to: [User Role Editor] bad wordingThank you. I applied your suggestions to the upcoming update.
Forum: Plugins
In reply to: [User Role Editor] Allow Editor Access to Menu“Appearance->Menus” menu item is protected by ‘edit_theme_options’ capability. Take into account that the same capability protects all other items of the “Appearance” submenu.
Forum: Plugins
In reply to: [User Role Editor] Export and import extensionWordPress stores all its user roles data at the single database record:
SELECT * FROM wp_options WHERE option_name='wp_user_roles';‘wp_’ is equal to the database prefix set at wp-config.php
So you make take option_value field value from this record at one site and put into the similar record at the other site:UPDATE wp_options SET option_value='changed value here' WHERE option_id=NN LIMIT 1;Replace NN with actual user roles record ID.
- This reply was modified 6 years, 2 months ago by Vladimir Garagulya.
Forum: Plugins
In reply to: [User Role Editor] Capabilities Pending StatusHi,
By default WordPress uses ‘pending’ as a post status between ‘draft’ and ‘publish’.
‘Reset’ not only deletes custom roles. It roll back default roles to the initial state. It seems some role, like ‘subscriber’ would lost a custom capability added by plugin, responsible for user registration process.
You need to consult with developer of the plugin, which adds user capability ‘pending’ and checks it after user login. Or try to deactivate/activate back that plugin. Some plugins updates roles again during activation.
Forum: Plugins
In reply to: [User Role Editor] Admin toolbar missingHi,
Try to deactivate all plugins. If admin bar will appear, activate plugins back one by one to isolate a problem.
Try to switch to other theme (2020) – just for testing. Some times custom code may be inserted to the theme’s functions.php file.- This reply was modified 6 years, 2 months ago by Vladimir Garagulya.
Forum: Plugins
In reply to: [User Role Editor] Custom post type permissionHi,
It depends from custom post type (CPT) definition. Many CPTs use default (edit_posts), this is a reason why role can edit almost all CPTs having just posts related capabilities. More details and possible workaround here.
Forum: Plugins
In reply to: [User Role Editor] User-Role is a simple editor ?I confirm changes made to the WordPress user roles with User Role Editor (URE) are permanent, they are saved to the database over the WP internal data. All changes are still in action after URE deactivation.
Add-ons included into Pro version work another way. They apply additional level of access restrictions using WordPress hooks. No active add-ons, no additional access restrictions.
Forum: Plugins
In reply to: [User Role Editor] Customize network super admin?Superadmin is not a role and it does not depend from the list of granted capabilities. It is a some kind of a user state, which WordPress recognizes for the multisite configuration. If user is assigned a superadmin feature, this user can do ALL.
If you need create a user with access to network admin but the limited functionality, grant to this user role needed capabilities from the ‘Multisite’ group. ‘manage_network’ is critical for access to the ‘Network Admin’.