Title: WPSAL (Simple Access List)
Author: VERYA Inc.
Published: <strong>2025 年 12 月 22 日</strong>
Last modified: 2026 年 8 月 20 日

---

搜索插件

![](https://ps.w.org/wpsal-simple-access-list/assets/banner-772x250.png?rev=3657532)

![](https://ps.w.org/wpsal-simple-access-list/assets/icon-256x256.png?rev=3568056)

# WPSAL (Simple Access List)

 作者：[VERYA Inc.](https://profiles.wordpress.org/veryaca/)

[下载](https://downloads.wordpress.org/plugin/wpsal-simple-access-list.1.3.2.zip)

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

 [支持](https://wordpress.org/support/plugin/wpsal-simple-access-list/)

## 描述

**WPSAL (Simple Access List)** is a lightweight plugin that allows _WordPress_ site
owners to control access to posts, pages and custom post types. You can restrict
content to specific **users** or **roles** and redirect unauthorized visitors to
any page.

### Key Features

 * Restrict access to posts, pages or custom post types.
 * Assign access to individual **users** or **roles**.
 * Redirect unauthorized visitors to a page of your choice.
 * Developer-friendly with filters and hooks.

### Usage

 1. Go to the **Posts**, **Pages**, or any custom post type list in the _WordPress_
    admin.
 2. Hover over a post row to reveal the **WPSAL** action menu. Click it.
 3. In the modal that appears, select the allowed **users** and/or **roles**.
 4. Optionally select a **redirect page** for unauthorized visitors.
 5. Click **Save** — the access restrictions are applied immediately.

**Ideal for:** membership sites, client portals, private blogs, or any scenario 
requiring flexible content access control.

### Development Notes

This plugin includes minified JavaScript and CSS files.
 The uncompressed source
files are publicly available here:

 * SweetAlert2 v11.26.25: https://github.com/sweetalert2/sweetalert2/archive/refs/
   tags/v11.26.25.zip
 * TomSelect v2.6.2: https://github.com/orchidjs/tom-select/archive/refs/tags/v2.6.2.
   zip

### Support / Documentation

 * For documentation, visit: https://wpsal.verya.xyz/.
 * For support or to report bugs, please visit the plugin page on the _WordPress_
   repository.

## 屏幕截图

[⌊Page List (Backend) – WordPress admin page list showing all pages.⌉⌊Page List (
Backend) – WordPress admin page list showing all pages.⌉[

**Page List (Backend)** – _WordPress_ admin page list showing all pages.

[⌊WPSAL Modal Window – Popup for selecting access type and individual settings.⌉⌊
WPSAL Modal Window – Popup for selecting access type and individual settings.⌉[

**WPSAL Modal Window** – Popup for selecting access type and individual settings.

[⌊WPSAL Settings Page – Main plugin settings page for configuring access control.⌉⌊
WPSAL Settings Page – Main plugin settings page for configuring access control.⌉[

**WPSAL Settings Page** – Main plugin settings page for configuring access control.

## 安装

 1. Upload the `wpsal-simple-access-list` folder to `/wp-content/plugins/`.
 2. Activate the plugin through the ‘Plugins’ menu in _WordPress_.

## 常见问题

### Can I restrict custom post types?

Yes! By default, posts and pages are supported.
 Use the `wpsal_allowed_post_types`
filter to extend to custom post types.

### Can I redirect unauthorized users?

Yes, you can select a custom page to redirect visitors who don’t have access.

### Can I restrict access to both roles and users?

Absolutely. You can assign access to specific users, roles, or both simultaneously.

### Is the plugin developer-friendly?

Yes, it provides filters and hooks for extending functionality and integrating with
other plugins or themes.

### Can I hide pages that are protected if they have WPSAL rules applied?

Yes! When the “Filter menus and navigation blocks” option is enabled in the plugin
settings, the plugin automatically removes menu items and navigation block links
that the current user cannot access.

## 评价

此插件暂无评价。

## 贡献者及开发者

「WPSAL (Simple Access List)」是开源软件。 以下人员对此插件做出了贡献。

贡献者

 *   [ VERYA Inc. ](https://profiles.wordpress.org/veryaca/)

「WPSAL (Simple Access List)」插件已被翻译至 1 种本地化语言。 感谢[所有译者](https://translate.wordpress.org/projects/wp-plugins/wpsal-simple-access-list/contributors)
为本插件所做的贡献。

[帮助将「WPSAL (Simple Access List)」翻译成简体中文。](https://translate.wordpress.org/projects/wp-plugins/wpsal-simple-access-list)

### 对开发感兴趣吗?

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

## 更新日志

#### 1.3.2

 * Tested up to WordPress 7.1.
 * Updated SweetAlert2 library.

#### 1.3.1

 * Bug fixes.

#### 1.3.0

 * New modern user interface and refreshed design.
 * Lowered the minimum PHP requirement from 7.4 to 7.0.

#### 1.2.3

 * Tested up to WordPress 7.0.
 * Updated SweetAlert2 and TomSelect libraries.

#### 1.2.2

 * Updated SweetAlert2 and TomSelect libraries.

#### 1.2.1

 * Updated SweetAlert2 and TomSelect libraries.

#### 1.2.0

 * New feature: Added front-end filtering of menus and core/navigation blocks based
   on WPSAL access rules.
 * Cached access checks for performance improvements.
 * Updated SweetAlert2 and TomSelect libraries.

#### 1.1.0

 * New filter: `wpsal_permissions_column_post_types`.
 * New feature: Remove all plugin metadata (reset permissions).
 * Improved, updated and standardized CSS selectors for better admin page compatibility.
 * Refined GUI: improved layout and visual overall clarity.
 * Improved performance by optimizing various meta queries.
 * Updated SweetAlert2 and TomSelect libraries.

#### 1.0.0

 * Initial release:
    - User and role-based access control.
    - Redirect unauthorized users.
    - Modal interface with SweetAlert2 and TomSelect.
    - Developer hooks and filters.

## 额外信息

 *  版本 **1.3.2**
 *  最后更新：**2 月前**
 *  活跃安装数量 **不到10**
 *  WordPress 版本 ** 6.6 或更高版本 **
 *  已测试的最高版本为 **7.1.3**
 *  PHP 版本 ** 7.4 或更高版本 **
 *  语言
 * [English (US)](https://wordpress.org/plugins/wpsal-simple-access-list/) 和 [French (Canada)](https://fr-ca.wordpress.org/plugins/wpsal-simple-access-list/).
 *  [翻译成简体中文](https://translate.wordpress.org/projects/wp-plugins/wpsal-simple-access-list)
 * 标签
 * [access-control](https://cn.wordpress.org/plugins/tags/access-control/)[content restriction](https://cn.wordpress.org/plugins/tags/content-restriction/)
   [content visibility](https://cn.wordpress.org/plugins/tags/content-visibility/)
   [role management](https://cn.wordpress.org/plugins/tags/role-management/)[user permissions](https://cn.wordpress.org/plugins/tags/user-permissions/)
 *  [高级视图](https://cn.wordpress.org/plugins/wpsal-simple-access-list/advanced/)

## 评级

尚未提交反馈。

[您的评价](https://wordpress.org/support/plugin/wpsal-simple-access-list/reviews/#new-post)

[查看全部评论](https://wordpress.org/support/plugin/wpsal-simple-access-list/reviews/)

## 贡献者

 *   [ VERYA Inc. ](https://profiles.wordpress.org/veryaca/)

## 支持

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

 [查看支持论坛](https://wordpress.org/support/plugin/wpsal-simple-access-list/)

## 捐助

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

 [ 捐助此插件 ](https://donate.stripe.com/9B69ATd053Ev8zo1tT6c001)