Title: User Role Editor
Author: Vladimir Garagulya
Published: <strong>2010 年 3 月 22 日</strong>
Last modified: 2026 年 5 月 21 日

---

搜索插件

![](https://ps.w.org/user-role-editor/assets/banner-772x250.png?rev=1263116)

![](https://ps.w.org/user-role-editor/assets/icon-256x256.jpg?rev=1020390)

# User Role Editor

 作者：[Vladimir Garagulya](https://profiles.wordpress.org/shinephp/)

[下载](https://downloads.wordpress.org/plugin/user-role-editor.4.65.zip)

[实时预览](https://cn.wordpress.org/plugins/user-role-editor/?preview=1)

 * [详情](https://cn.wordpress.org/plugins/user-role-editor/#description)
 * [评价](https://cn.wordpress.org/plugins/user-role-editor/#reviews)
 *  [安装](https://cn.wordpress.org/plugins/user-role-editor/#installation)
 * [开发进展](https://cn.wordpress.org/plugins/user-role-editor/#developers)

 [支持](https://wordpress.org/support/plugin/user-role-editor/)

## 描述

User Role Editor WordPress plugin allows you to change user roles and capabilities
easy.
 Just turn on check boxes of capabilities you wish to add to the selected 
role and click “Update” button to save your changes. That’s done. Add new roles 
and customize its capabilities according to your needs, from scratch of as a copy
of other existing role. Unnecessary self-made role can be deleted if there are no
users whom such role is assigned. Role assigned every new created user by default
may be changed too. Capabilities could be assigned on per user basis. Multiple roles
could be assigned to user simultaneously. You can add new capabilities and remove
unnecessary capabilities which could be left from uninstalled plugins. Multi-site
support is provided.

To read more about ‘User Role Editor’ visit [this page](https://www.shinephp.com/user-role-editor-wordpress-plugin/)

Do you need more functionality with quality support in a real time? Do you wish 
to remove advertisements from User Role Editor pages?
 [Buy Pro version](https://www.role-editor.com).
[User Role Editor Pro](https://www.role-editor.com) includes extra modules:

 * Block selected admin menu items for role.
 * Hide selected front-end menu items for no logged-in visitors, logged-in users,
   roles.
 * Block selected widgets under “Appearance” menu for role.
 * Show widgets at front-end for selected roles.
 * Block selected meta boxes (dashboard, posts, pages, custom post types) for role.
 * “Export/Import” module. You can export user role to the local file and import
   it to any WordPress site or other sites of the multi-site WordPress network.
 * 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 to show enclosed content to the users with selected roles only.
 * Posts and pages view restrictions for selected roles.
 * Admin back-end pages permissions viewer

Pro version is advertisement free. Premium support is included.

### Additional Documentation

You can find more information about “User Role Editor” plugin at [this page](http://www.shinephp.com/user-role-editor-wordpress-plugin/)

I am ready to answer on your questions about plugin usage. Use [plugin page comments](http://www.shinephp.com/user-role-editor-wordpress-plugin/)
for that.

## 屏幕截图

 * [[
 * screenshot-1.png User Role Editor main form
 * [[
 * screenshot-2.png Add/Remove roles or capabilities
 * [[
 * screenshot-3.png User Capabilities link
 * [[
 * screenshot-4.png User Capabilities Editor
 * [[
 * screenshot-5.png Bulk change role for users without roles
 * [[
 * screenshot-6.png Assign multiple roles to the selected users

## 安装

Installation procedure:

 1. Deactivate plugin if you have the previous version installed.
 2. Extract “user-role-editor.zip” archive content to the “/wp-content/plugins/user-
    role-editor” directory.
 3. Activate “User Role Editor” plugin via ‘Plugins’ menu in WordPress admin menu.
 4. Go to the “Users”-“User Role Editor” menu item and change your WordPress standard
    roles capabilities according to your needs.

## 常见问题

 * 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.

To read full FAQ section visit [this page](http://www.shinephp.com/user-role-editor-wordpress-plugin/#faq)
at [shinephp.com](https://cn.wordpress.org/plugins/user-role-editor/shinephp.com?output_format=md).

## 评价

![](https://secure.gravatar.com/avatar/787c059daa93a1e8b3007b23e6e09bd20bdf9d216e19590b4e75f7716c818c1f?
s=60&d=retro&r=g)

### 󠀁[Simple and works nicely](https://wordpress.org/support/topic/simple-and-works-nicely-3/)󠁿

 [Pk Gibson](https://profiles.wordpress.org/pkgibson101/) 2025 年 6 月 25 日

This plugin is working well. Thank you for the developer who put lot of time into
it. Very nice, lightest and most simple.

![](https://secure.gravatar.com/avatar/ad285c9c6df347efc8b9d48578975a12369f80d4098b64256e0f12647aa9a184?
s=60&d=retro&r=g)

### 󠀁[Worked great for my site](https://wordpress.org/support/topic/worked-great-for-my-site/)󠁿

 [indivisible](https://profiles.wordpress.org/indivisible/) 2025 年 4 月 22 日

I’m a DIY self learner, and had a great experience with URE. It has vast capabilities
and is organized to make it easy to navigate and apply so many customizations. Very
intuitive. On the one occasion I needed guidance, the tech support was quick, personal
and a success. Highly recommend.

![](https://secure.gravatar.com/avatar/395c1a499605c89a88323e4ec4bcd28e57cb331540ef8335b018564aa0b8f3e9?
s=60&d=retro&r=g)

### 󠀁[Wont save capabilities for custom role](https://wordpress.org/support/topic/wont-save-capabilities-for-custom-role/)󠁿

 [jen000](https://profiles.wordpress.org/jen000/) 2025 年 4 月 16 日

I hate giving bad reviews as I know how much work goes into these plugins, often
by one person. But we have wasted so much time and lost orders because of a known
bug. I can see that others have reported this bug from at least 4 months ago. So
I want to warn others. The whole point of us using this plugin was to create a custom
role and to assign specific capabilities to that role. For a short while it worked
so we launched the site. And then it stopped working and caused chaos. We have spent
FOREVER trying to figure this out. We will be moving to a different plugin asap.

![](https://secure.gravatar.com/avatar/567a1e75c45d8669ac2c52c569c72b56109e1efa64dc0ec8f320588dcf0a683f?
s=60&d=retro&r=g)

### 󠀁[Didn’t work on multisite](https://wordpress.org/support/topic/didnt-work-on-multisite/)󠁿

 [shirax](https://profiles.wordpress.org/shirax/) 2025 年 3 月 27 日

Didn’t break my site, it just doesn’t work. On multisite, trying to give user permissions
to install plugins–as it indicated in settings that it could do that. Appears to
uninstall cleanly, at least.

![](https://secure.gravatar.com/avatar/b09e2979dec4a0c4df7d94f6af851014b597d26120ea2a977ec064300059071f?
s=60&d=retro&r=g)

### 󠀁[Plugin works great!](https://wordpress.org/support/topic/plugin-works-great-90/)󠁿

 [LambrosHatzini](https://profiles.wordpress.org/lambroshatzini/) 2024 年 11 月 
6 日

I’ve tried two other plugins to no avail. This one works great!

![](https://secure.gravatar.com/avatar/6c233d3417c6ba598706df9037a02d626e33fabb9b67cae44f6e48a665f681c6?
s=60&d=retro&r=g)

### 󠀁[sadly give](https://wordpress.org/support/topic/sadly-give/)󠁿

 [cicavizio](https://profiles.wordpress.org/cicavizio/) 2024 年 9 月 29 日

its set several user role randomly, and sadly the uninstall didnt fix

 [ 阅读所有287条评价 ](https://wordpress.org/support/plugin/user-role-editor/reviews/)

## 贡献者及开发者

「User Role Editor」是开源软件。 以下人员对此插件做出了贡献。

贡献者

 *   [ Vladimir Garagulya ](https://profiles.wordpress.org/shinephp/)

「User Role Editor」插件已被翻译至 27 种本地化语言。 感谢[所有译者](https://translate.wordpress.org/projects/wp-plugins/user-role-editor/contributors)
为本插件所做的贡献。

[帮助将「User Role Editor」翻译成简体中文。](https://translate.wordpress.org/projects/wp-plugins/user-role-editor)

### 对开发感兴趣吗?

您可以[浏览代码](https://plugins.trac.wordpress.org/browser/user-role-editor/)，
查看[SVN仓库](https://plugins.svn.wordpress.org/user-role-editor/)，或通过[RSS](https://plugins.trac.wordpress.org/log/user-role-editor/?limit=100&mode=stop_on_copy&format=rss)
订阅[开发日志](https://plugins.trac.wordpress.org/log/user-role-editor/)。

## 更新日志

#### [4.65] 21.05.2026

 * Update: Marked as compatible with WordPress 7.0
 * Update: Pages markup are modified to correspond WordPress 7.0 CSS changes.
 * Update: “defined(‘ABSPATH’)” guard was added to all PHP files to exclude PHP 
   files direct execution.
 * Update: sanitize_text_field(), sanitize_key(), sanitize_url() functions are used
   to secure user input before processing.
 * Update: _nonce field checking was added before data update in addition to test
   made already on the higher level.

#### [4.64.6] 01.12.2025

 * Update: Marked as compatible with WordPress 6.9
 * Update: Minor code enhancements according to the “Plugin Check” tool recommendations.
 * Update: “Users->Grant Roles” HTML code download optimization to exclude cases
   when URE’s “Grant Roles” data flickers or stays visible while Users page is opening.

File changelog.txt contains the full list of changes.

## 额外信息

 *  版本 **4.65**
 *  最后更新：**3 周前**
 *  活跃安装数量 **700,000+**
 *  WordPress 版本 ** 4.4 或更高版本 **
 *  已测试的最高版本为 **7.0**
 *  PHP 版本 ** 7.3 或更高版本 **
 *  语言
 * [Arabic](https://ar.wordpress.org/plugins/user-role-editor/) 、 [Chinese (China)](https://cn.wordpress.org/plugins/user-role-editor/)、
   [Chinese (Taiwan)](https://tw.wordpress.org/plugins/user-role-editor/) 、 [Czech](https://cs.wordpress.org/plugins/user-role-editor/)、
   [Dutch](https://nl.wordpress.org/plugins/user-role-editor/) 、 [Dutch (Belgium)](https://nl-be.wordpress.org/plugins/user-role-editor/)、
   [English (Australia)](https://en-au.wordpress.org/plugins/user-role-editor/) 、
   [English (Canada)](https://en-ca.wordpress.org/plugins/user-role-editor/) 、 
   [English (New Zealand)](https://en-nz.wordpress.org/plugins/user-role-editor/)、
   [English (South Africa)](https://en-za.wordpress.org/plugins/user-role-editor/)、
   [English (UK)](https://en-gb.wordpress.org/plugins/user-role-editor/) 、 [English (US)](https://wordpress.org/plugins/user-role-editor/)、
   [French (France)](https://fr.wordpress.org/plugins/user-role-editor/) 、 [German](https://de.wordpress.org/plugins/user-role-editor/)、
   [Hebrew](https://he.wordpress.org/plugins/user-role-editor/) 、 [Italian](https://it.wordpress.org/plugins/user-role-editor/)、
   [Japanese](https://ja.wordpress.org/plugins/user-role-editor/) 、 [Korean](https://ko.wordpress.org/plugins/user-role-editor/)、
   [Polish](https://pl.wordpress.org/plugins/user-role-editor/) 、 [Russian](https://ru.wordpress.org/plugins/user-role-editor/)、
   [Spanish (Chile)](https://cl.wordpress.org/plugins/user-role-editor/) 、 [Spanish (Colombia)](https://es-co.wordpress.org/plugins/user-role-editor/)、
   [Spanish (Mexico)](https://es-mx.wordpress.org/plugins/user-role-editor/) 、 
   [Spanish (Spain)](https://es.wordpress.org/plugins/user-role-editor/) 、 [Spanish (Venezuela)](https://ve.wordpress.org/plugins/user-role-editor/)、
   [Swedish](https://sv.wordpress.org/plugins/user-role-editor/) 、 [Turkish](https://tr.wordpress.org/plugins/user-role-editor/)
   和 [Vietnamese](https://vi.wordpress.org/plugins/user-role-editor/).
 *  [翻译成简体中文](https://translate.wordpress.org/projects/wp-plugins/user-role-editor)
 * 标签
 * [access](https://cn.wordpress.org/plugins/tags/access/)[editor](https://cn.wordpress.org/plugins/tags/editor/)
   [role](https://cn.wordpress.org/plugins/tags/role/)[security](https://cn.wordpress.org/plugins/tags/security/)
   [user](https://cn.wordpress.org/plugins/tags/user/)
 *  [高级视图](https://cn.wordpress.org/plugins/user-role-editor/advanced/)

## 评级

 4.5 星（最高 5 星）。

 *  [  243 条 5 星评价     ](https://wordpress.org/support/plugin/user-role-editor/reviews/?filter=5)
 *  [  10 条 4 星评价     ](https://wordpress.org/support/plugin/user-role-editor/reviews/?filter=4)
 *  [  6 条 3 星评价     ](https://wordpress.org/support/plugin/user-role-editor/reviews/?filter=3)
 *  [  4 条 2 星评价     ](https://wordpress.org/support/plugin/user-role-editor/reviews/?filter=2)
 *  [  24 条 1 星评价     ](https://wordpress.org/support/plugin/user-role-editor/reviews/?filter=1)

[Your review](https://wordpress.org/support/plugin/user-role-editor/reviews/#new-post)

[查看全部评论](https://wordpress.org/support/plugin/user-role-editor/reviews/)

## 贡献者

 *   [ Vladimir Garagulya ](https://profiles.wordpress.org/shinephp/)

## 支持

最近两个月解决的问题：

     总计 2，已解决 0

 [查看支持论坛](https://wordpress.org/support/plugin/user-role-editor/)