Con il plugin di WordPress User Role Editor è possibile cambiare le capacità del ruolo utente (tranne l’Amministratore) semplicemente, con pochi clicks.
Basta spuntare le caselle di controllo delle capacità che si desidera aggiungere al ruolo selezionato e fare clic sul pulsante “Aggiorna” per salvare le modifiche. Ecco fatto.
Aggiungere nuovi ruoli e personalizzarne le capacità in base alle proprie esigenze, sia da zero che come copia di altro ruolo esistente.
Il ruolo creato automaticamente può essere eliminato se non ci sono utenti a cui tale ruolo è assegnato.
Anche il ruolo assegnato di default alla creazione di ogni nuovo utente può essere modificato.
Le capacità possono essere assegnate sulla base del singolo utente. Ruoli multipli possono essere assegnati all’utente simultaneamente.
È possibile aggiungere nuove funzionalità e rimuovere le funzionalità non necessarie che potrebbero essere state lasciate da un plugin disinstallato.
È fornito il supporto multi-sito.
- Blocca le voci di menu di amministrazione selezionate per il ruolo
- Hide selected front-end menu items for no logged-in visitors, logged-in users, roles.
- Blocca i widget selezionate nel menu “Aspetto” per il ruolo
- Mostra i widget nel front-end per i ruoli selezionati.
- Block selected meta boxes (dashboard, posts, pages, custom post types) for role.
- Modulo “Esporta/Importa”. È possibile esportare ruoli utente nel file locale ed importarli poi in qualsiasi sito WordPress o su altri siti della rete WordPress multi-sito.
- Roles and Users permissions management via Network Admin for multisite configuration. One click Synchronization to the whole network.
- “Other roles access” module allows to define which other roles user with current role may see at WordPress: dropdown menus, e.g assign role to user editing user profile, etc.
- Manage user access to editing posts/pages/custom post type using posts/pages, authors, taxonomies ID list.
- Per plugin users access management for plugins activate/deactivate operations.
- Per form users access management for Gravity Forms plugin.
- Shortcode per mostrare il contenuto incluso solo agli utenti con i ruoli selezionati.
- Restrizioni di visualizzazione degli articolii e delle pagine per i ruoli selezionati.
La versione Pro è senza pubblicità. È incluso un supporto Premium.
Puoi trovare più informazioni sul plugin “User Role Editor” in questa pagina
Sono pronto a rispondere alle tue domande sull’uso del plugin. Usa la pagina dei commenti del plugin per questo.
- Does it work with WordPress in multi-site environment?
Yes, it works with WordPress multi-site. By default plugin works for every blog from your multi-site network as for locally installed blog.
To update selected role globally for the Network you should turn on the “Apply to All Sites” checkbox. You should have superadmin privileges to use User Role Editor under WordPress multi-site.
Pro version allows to manage roles of the whole network from the Netwok Admin.
As a developer, I love being able to use this plugin. It gives me great visibility for my custom capabilities. It's also simple - so my clients can understand and use it as well.
All plugins should be this simple and cleanly designed. Love it.
- Fix: “Users->Grant Roles” button did not work with switched off option “Count Users without role” at “Settings->User Role Editor->Additional Modules” tab. “JQuery UI” library was not loaded.
- Update: minimal PHP version was raised to 5.3.
- Fix: URL to users.php page was built incorrectly after bulk roles assignment to the users selected at the 1st page of a users list.
- New: Button “Grant Roles” allows to “Assign multiple roles to the selected users” directly from the “Users” page.
- Update: singleton template was applied to the main User_Role_Editor class. While GLOBALS[‘user-role-editor’] reference to the instance of User_Role_Editor class is still available for the compatibility purpose, call to User_Role_Editor::get_instance() is the best way now to get a reference to the instance of User_Role_Editor class.
- Fix: Missed ‘unfiltered_html’ capability is shown now at the ‘General’ capabilities group too.
- Fix: WP transients get/set were removed from URE_Own_Capabilities class. It leaded to the MySQL deadlock in some cases.
- Update: Base_Lib::get_request_var() sanitizes user input by PHP’s filter_var() in addition to WordPress core’s esc_attr().
- New: It’s possible to remove unused user capabilities by list.
- Fix: There was no support for installations with the hidden/changed URL to wp-admin. URE uses ‘admin_url()’ now to get and check admin URL, instead of direct comparing URL with ‘wp-admin’ string.
- Fix: Deprecated capabilities were shown in some cases at the ‘Core’ group even with “Show deprecated capabilities” mode switched off.
- Update: Capability groups CSS classes are prefixed with ‘ure-‘ in order to minimize possible CSS conflicts with other plugins/themes which may load styles with the same classes globally and break URE’s markup.
- Update: compatible with WordPress 4.7
- New: “Granted Only” checkbox to the right from the “Quick Filter” input control allows to show only granted capabilities for the selected role or user.
- New: User Role Editor own user capabilities are grouped separately under Custom capabilities.
- Update: URE_Lib::is_super_admin() uses WordPress core is_super_admin() for multisite setup only. Superadmin is a user with ‘administrator’ role in the case of single site WordPress installation.
This is the difference with the WordPress core which counts as a superadmin (for single site WP installation) any user with a ‘delete_users’ capability.
- Update: BaseLib::option_selected() calls were replaced with the calls of a similar selected() function from WordPress core.
- New: WooCommerce plugin user capabilities (if exist) are grouped separately under Custom capabilities.
- Update: Temporally raised permissions flag is taken into account when checking, if user has a superadmin privileges. WordPress is_super_admin() function was replaced with custom wrapper to define if current user is a real superadmin or just a local admin with the temporally raised (add/edit users pages) permissions.
- Update: There was a conflict with plugins which use a ‘|’ character at the custom user capabilities: e.g. ‘Nginx Helper | Config’ from “Nginx Helper’ plugin.
- Fix: PHP notice was removed: Undefined property: URE_Role_View::$multisite in wp-content/plugins/user-role-editor/includes/classes/view.php on line 143
- Fix: WordPress multisite: Settings link under the URE plugin at the plugins list leads to the network admin now, not to the the single site settings page, which does not exist.
- Fix: WordPress multisite: conflict with “Visual Composer” plugin was resolved: single site administrators could now use Visual Composer editor.
- Fix: WordPress multisite: changed role name was not replicated to other sites when user clicked “Update” with “Apply to All Sites” option turned ON.
- Update: There was a conflict with plugins which use a ‘/’ character at the custom user capabilities: e.g. vc_access_rules_backend_editor/disabled_ce_editor from Visual Composer.
- Update: add/delete, escape, validate user capability code extracted from URE_Lib to the separate URE_Capability class
- New: Total/Granted counters were added to the capabilities groups titles.
- New: “Columns” drop-down menu allows to change capabilities section layout to 1, 2 or 3 columns.
- New: Capabilities section is limited in height and has independent scrollbar.
- Update: User Role Editor page markup was updated to use more available space on page.
- Update: URE_Ajax_Processor class allows to differentiate required user permissions according to action submitted by user.
- Fix: CSS updated to exclude text overlapping at capabilities groups section when custom post type name is not fitted into 1 line.
- Fix: Selecting a sub-group/list of caps does make the ure_select_all_caps checkbox select all within that group, but checking that box when at the “All” top-level group did not work.
- Fix: Notice: Undefined property: URE_Role_View::$apply_to_all
- Fix: some bugs, like ‘undefined property’ notices, etc.
- New: User capabilities were groupd by functionality for more convenience.
- Update: URE_KEY_CAPABILITY constant was changed from ‘ure_edit_roles’ to ‘ure_manage_options’. To make possible for non-admin users access to the User Role Editor without access to the ‘administrator’ role and users with ‘administrator’ role.
- Update: User receives full access to User Role Editor under WordPress multisite if he has ‘manage_network_plugins’ capability instead of ‘manager_network_users’ as earlier. This allows to give user ability to edit network users without giving him access to the User Role Editor.
- Update: Multisite: use WordPress’s global $current_site->blog_id to define main blog ID instead of selecting the 1st one from the sorted list of blogs.
- Update: use WP transients at URE_Lib::_get_post_types() to reduce response time.
- Update: various internal optimizations.
- Update: Enhanced inner processing of available custom post types list.
- Update: Uses 15 seconds transient cache in order to not count users without role twice when ‘restrict_manage_users’ action fires.
- Update: URE fires action ‘profile_update’ after direct update of user permissions in order other plugins may catch such change.
- Update: All URE’s PHP classes files renamed and moved to the includes/classes subdirectory
- Fix: Selected role’s capabilities list was returned back to old after click “Update” button. It was showed correctly according to the recent updates just after additional page refresh.
- Update: deprecated function get_current_user_info() call was replaced with wp_get_current_user().
- Important security update: Any registered user could get an administrator access. Thanks to John Muncaster for discovering and wisely reporting it.
- URE pages title tag was replaced from h2 to h1, for compatibility with other WordPress pages.
- Fix: “Assign role to the users without role” feature ignored role selected by user.
- Fix: PHP fatal error (line 34) was raised at uninstall.php for WordPress multisite.
- Update: action priority 99 was added for role additional options hook action setup.