Vladimir Garagulya
Forum Replies Created
-
Forum: Plugins
In reply to: [User Role Editor] User cannot see back-end, even if authorHi,
‘view_admin_dashboard’ capability is not created by default. You can add it manually using “Add Capability” button at URE page. Then grant this capability to your user role. I hope it will help.
Thank you for explanation. It should work as my experience says. Some another plugin or additional code (may be in functions.php) may be involved. Can you test with all plugins deactivated temporally?
Hi Markus,
User Role Editor (URE) supports/realizes WordPress default scheme of work with user capabilities and user roles. All WordPress built-in roles has user capabilities only with boolean true. That is every role contains only capabilities granted/permitted for this role. If you see the not checked (empty) capability checkbox at the URE – it means that this capability is not granted to the currently selected role.
Thus, if user has 2 roles, role A (cap1, cap2) and role B (cap 3), the resulting permissions for such user will be the sum of capabilities from the both roles: cap1, cap2, cap3. All missed capabilities are not granted/permitted, but not prohibited to such user. You can not apparently prohibit capability via URE user interface.
Though there is Members plugin which allows deny capability for role or user.
- This reply was modified 4 years, 1 month ago by Vladimir Garagulya.
Forum: Plugins
In reply to: [User Role Editor] Author changes dont reflect in front endThis shows that it’s really not a user permissions issue. More – if this page is available to the not authorized public.
Look if other showed attributes updated at the front-end, like ‘post date’, even ‘post content’.It would need some time to refresh, even if you clear CDN cache.
Forum: Plugins
In reply to: [User Role Editor] How to restrict a role from accessing a certain plugin?WC Zapier is a paid product. I can tell nothing about its permissions without having it on hands.
In general, if you do not see plugin specific permissions, it may use WordPress or WooCommerce internal capabilities, like edit_posts, manage_options or manage_woocommerce, etc.
Forum: Plugins
In reply to: [User Role Editor] Author changes dont reflect in front endHi,
If you use any caching plugin, clear that plugin cache. It may get cached values from memory instead of send new requests to the database.
Hosting may use own caching software, like MemCached, which resources you need clear also, etc. Check this direction.Forum: Plugins
In reply to: [User Role Editor] User cannot see back-end, even if authorHi,
URE does not have redirection option by default.
I suppose you have WooCommerce installed. If Yes, add capability ‘view_admin_dashboard’ and grant it to the role which your user has.
You may have also some other plugin, like membership, which may have own option – allow or not access to back-end to the not admin users.
I’m interested what do you mean under ‘hidden’ in the context of db data tables deletion? Btw., I can not repeat. I suppose it’s something specific for your database. If you are interested to find a reason, contact me at vladimir [at-sign] shinephp.com email address.
‘Old’ in the plugin name. I almost finished work on the new version, which uses WordPress internal WP_List_Table UI (like ‘posts’, ‘users’, etc.) to show and process data. This is a reason to add ‘Old’ to the name of the version with older UI to distinguish better in the plugins list during development. It’s possible that I will publish new version to the end of April, 2022 or begin of May.
Forum: Plugins
In reply to: [User Role Editor] Плагин внес изменения в работу сайтаЗдравствуйте!
Восстановите запись с ролями пользователей со свежей копии базы данных.
Способы описаны здесь в части III.
Hi,
URE Pro block not allowed custom post types by default, leaves only pages in your case. You can allow selected custom post type for the 1st role using custom filter.
P.S. This forum is for the free version only. It’s better to ask Pro version related questions at the role-editor.com dedicated forum.
This change was introduced by WordPress 5.9. Read this article.
Possible workaround:
add_filter( 'wp_dropdown_users_args', 'my_dropdown_users_args', 10, 1 ); function my_dropdown_users_args( $query_args ) { $query_args['capability'] = []; $query_args['roles__in'] = [ "Author", "Contributor" ]; return $query_args; }- This reply was modified 4 years, 1 month ago by Vladimir Garagulya.
Hi,
I assume that LD may re-create its user role automatically. Try as workaround to create new custom role (“Role A”), add there all additional capabilities and grant to a user 2 roles simultaneously: 1) “Group leader”, 2) “Role A”.
Forum: Reviews
In reply to: [Plugins Garbage Collector (Database Cleanup)] shift to russian yandex cloudThere is no any political message. Sure. And I ask you do not bring politics here.
I’m Russia citizen. S3 is a paid service. I moved the resource simply as I can not use MasterCard and VISA to pay for the international services for the known reasons.
Forum: Plugins
In reply to: [Plugins Garbage Collector (Database Cleanup)] Update PluginHi,
Can you provide any details, error messages?
My test with WP 5.9.2 and about 100 installed plugins showed expected results – no problem.Forum: Plugins
In reply to: [Plugins Garbage Collector (Database Cleanup)] Update PluginThanks for the remind. I will do it.