Title: Restrictify Extension Access Control
Author: Abiodun Paul Ogunnaike
Published: <strong>2026 年 8 月 3 日</strong>
Last modified: 2026 年 8 月 3 日

---

搜索插件

![](https://ps.w.org/restrictify-extension-access-control/assets/banner-772x250.
png?rev=3633007)

![](https://s.w.org/plugins/geopattern-icon/restrictify-extension-access-control_d69561.
svg)

# Restrictify Extension Access Control

 作者：[Abiodun Paul Ogunnaike](https://profiles.wordpress.org/abbeymaniak/)

[下载](https://downloads.wordpress.org/plugin/restrictify-extension-access-control.zip)

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

 [支持](https://wordpress.org/support/plugin/restrictify-extension-access-control/)

## 描述

**Restrictify Extension Access Control** provides essential security and access 
control for your WordPress site by allowing you to lock down the plugins area. Easily
restrict access to plugin activation, deactivation, deletion, and settings pages
based on user roles.

Keep your WordPress dashboard clean and prevent unauthorized users or clients from
accidentally breaking your site by modifying critical plugins.

#### Key Features

 * **Global Lockdown**: Restrict access to the plugins page for specific user roles.
 * **Exempt Users Whitelist**: Designate trusted administrators who bypass all lockdown
   rules. Only exempt users can see and configure Restrictify Extension Access Control
   settings.
 * **Restrict Access**: Remove the plugins page for specific user roles.
 * **Restrict Add Plugins**: Remove the ability to add plugins for specific user
   roles.
 * **Restrict Delete Plugins**: Remove the ability to delete plugins for specific
   user roles.
 * **Restrict Activate Plugins**: Remove the ability to activate plugins for specific
   user roles.
 * **Restrict Deactivate Plugins**: Remove the ability to deactivate plugins for
   specific user roles.
 * **Restrict Install Plugins**: Remove the ability to install plugins for specific
   user roles.
 * **Role-Based Access Control**: Choose exactly which roles can see and manage 
   plugins.
 * **Dashboard Cleanup**: Hide the plugins menu item from unauthorized users.
 * **Simple Configuration**: Easy-to-use settings panel.

#### Upcoming Advanced Features

 * **Individual Plugin Selection**: Choose exactly which plugins are hidden from
   specific user roles.
 * **Multisite Compatibility**: Manage lockdown rules across all sites from a single
   Network Admin panel.
 * **Admin Permissions Control**: Fine-grained permissions for administrators.
 * **Notifications & Alerts**: Get real-time alerts when a restricted user attempts
   to access locked plugins.
 * **Slack Notifications**: Instant Slack messages whenever a lockdown event is 
   triggered.
 * **Activity & Audit Log**: Full timestamped log of access attempts and plugin 
   visibility events.
 * **Plugin-Based Access Control**: Choose exactly which plugins are hidden from
   specific user roles.

## 屏幕截图

[[

[[

## 安装

 1. Upload the `restrictify-extension-access-control` folder to the `/wp-content/plugins/`
    directory.
 2. Activate the plugin through the ‘Plugins’ menu in WordPress.
 3. Navigate to **Restrictify Extension Access Control** in the WordPress admin menu
    to configure your settings.

## 常见问题

### What happens to the plugins page for restricted users?

Restricted users will not see the “Plugins” menu in the admin sidebar. If they try
to access the URL directly, they will be redirected and denied access.

### Can I prevent users from adding or installing new plugins?

Yes, you can easily restrict the “Add Plugins” and “Install Plugins” functionality
for specific user roles.

### Is it possible to stop certain roles from deleting plugins?

Yes, you can configure the plugin to remove the ability to delete plugins for specific
user roles, keeping your site’s core functionalities safe.

### Can I restrict users from activating or deactivating plugins?

Absolutely. You have full control over who can activate or deactivate plugins by
using the role-based access control.

### What are exempt users?

Exempt users are administrators who bypass all lockdown rules. When the plugin is
first activated, the activating user is automatically added to the exempt list. 
Only exempt users can see and modify Restrictify Extension Access Control settings.
Non-exempt administrators are fully restricted by all enabled lockdown rules.

### What happens if no exempt users are configured?

If no exempt users are configured (e.g., the plugin was activated via WP-CLI without
a user context), all lockdown rules remain inactive and an admin notice is shown
prompting any administrator to configure the exempt list.

### How do I recover access if all exempt users are removed or unavailable?

If all exempt administrators lose access, you can recover using one of these methods:

 1. WP-CLI: `wp plugin deactivate restrictify-extension-access-control`
 2. FTP/SFTP: Rename or delete the `restrictify-extension-access-control` folder in`/
    wp-content/plugins/`
 3. Database: Run `DELETE FROM wp_options WHERE option_name = 'restrictify_extension_access_control_options';`
    to reset all settings

## 评价

此插件暂无评价。

## 贡献者及开发者

「Restrictify Extension Access Control」是开源软件。 以下人员对此插件做出了贡献。

贡献者

 *   [ Abiodun Paul Ogunnaike ](https://profiles.wordpress.org/abbeymaniak/)

[帮助将「Restrictify Extension Access Control」翻译成简体中文。](https://translate.wordpress.org/projects/wp-plugins/restrictify-extension-access-control)

### 对开发感兴趣吗?

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

## 更新日志

#### 1.1.0

 * Added Exempt Users Whitelist — designate trusted admins who bypass lockdown rules.
 * Settings page now hidden from non-exempt administrators.
 * Auto-captures activating user as the first exempt admin.
 * Admin notice shown when no exempt users are configured (fail-open safety).
 * Removed DISALLOW_FILE_MODS in favour of granular per-user capability filtering.
 * Fixed plugin self-exemption bugs (bulk actions, cron, REST API).
 * Removed debug output (print_r) from apply_rules.
 * Cleaned up unused variables.

#### 1.0.1

 * Initial public release with Global Lockdown features.
 * Added “Coming Soon” preview for Advanced Features.

## 额外信息

 *  版本 **1.0.1**
 *  最后更新：**3 周前**
 *  活跃安装数量 **不到10**
 *  WordPress 版本 ** 6.0 或更高版本 **
 *  已测试的最高版本为 **7.0.4**
 *  PHP 版本 ** 8.1 或更高版本 **
 *  语言
 * [English (US)](https://wordpress.org/plugins/restrictify-extension-access-control/)
 * 标签
 * [access-control](https://cn.wordpress.org/plugins/tags/access-control/)[lockdown](https://cn.wordpress.org/plugins/tags/lockdown/)
   [plugins](https://cn.wordpress.org/plugins/tags/plugins/)[security](https://cn.wordpress.org/plugins/tags/security/)
   [user roles](https://cn.wordpress.org/plugins/tags/user-roles/)
 *  [高级视图](https://cn.wordpress.org/plugins/restrictify-extension-access-control/advanced/)

## 评级

尚未提交反馈。

[您的评价](https://wordpress.org/support/plugin/restrictify-extension-access-control/reviews/#new-post)

[查看全部评论](https://wordpress.org/support/plugin/restrictify-extension-access-control/reviews/)

## 贡献者

 *   [ Abiodun Paul Ogunnaike ](https://profiles.wordpress.org/abbeymaniak/)

## 支持

有话要说吗？是否需要帮助？

 [查看支持论坛](https://wordpress.org/support/plugin/restrictify-extension-access-control/)

## 捐助

您愿意支持这个插件的发展吗?

 [ 捐助此插件 ](https://www.buymeacoffee.com/abbeymaniak)