Title: User Access Hub
Author: Scott Joudry
Published: <strong>2024 年 3 月 31 日</strong>
Last modified: 2026 年 5 月 4 日

---

搜索插件

![](https://ps.w.org/useraccesshub/assets/icon-256x256.png?rev=3061764)

# User Access Hub

 作者：[Scott Joudry](https://profiles.wordpress.org/sjoudry/)

[下载](https://downloads.wordpress.org/plugin/useraccesshub.1.0.4.zip)

 * [详情](https://cn.wordpress.org/plugins/useraccesshub/#description)
 * [评价](https://cn.wordpress.org/plugins/useraccesshub/#reviews)
 * [开发进展](https://cn.wordpress.org/plugins/useraccesshub/#developers)

 [支持](https://wordpress.org/support/plugin/useraccesshub/)

## 描述

The User Access Hub is a service that allows administrators to manage users, user
access, and roles across a network of CMS sites.

### User Access Hub

The User Access Hub is a service that allows administrators to manage users, user
access, and roles across a network of CMS sites and will significantly simplify 
the administrative tasks associated with managing multiple websites. Some reasons
why using such a service can help an administrator effectively manage all their 
CMS sites:

 1. Centralized User Management: The User Access Hub provides a single, centralized
    dashboard where administrators can manage users across all connected CMS sites.
    This means that instead of logging into each site separately, they can control 
    user access from one location.
 2. User Account Creation and Deletion: Administrators can grant a user access to one
    or all CMS sites and revoke/delete user access to one or all CMS sites simultaneously.
    This is particularly useful when onboarding new users or removing access for users
    who no longer require it.
 3. Role Management: Administrators can assign CMS site defined roles to users for 
    each CMS site, allowing fine tuned access to each CMS site for each user. Permissions
    will be assigned to roles that are configured on the CMS site.
 4. Single Sign-On (SSO): The User Access Hub allowing users to log in once and access
    all connected CMS sites without the need for multiple logins. This enhances user
    experience and security.
 5. Audit Trail and Logging: The hub maintains detailed logs and an audit trail of 
    user activities and changes made by administrators. This is essential for tracking
    changes, diagnosing issues, and maintaining security.
 6. Scalability: As the network of Drupal sites grows, the User Access Hub can easily
    scale to accommodate new CMS sites and users without significantly increasing administrative
    overhead.
 7. Automation: The User Access Hub service is built on the API first methodology and
    most of the operations that can be performed in the UI can also be performed using
    the User Access Hub API.

[Create a free account to get started.](https://www.useraccesshub.com/)

### Additional features

 * Drupal CMS support
 * Core Updates Reporting
 * Plugin Updates Reporting
 * Theme Updates Reporting

### Requirements

 * This plugin requires the openssl_verify() PHP function, which is part of the 
   [OpenSSL library](https://www.php.net/manual/en/book.openssl.php) for PHP.
 * This plugin requires an account on [User Access Hub](https://www.useraccesshub.com/).

### Configuration

 1. Enable the plugin. This will create an API key at User Access Hub > Authentication.
    None of the fields on this form can be edited through the UI. The ‘Enabled the 
    Handshake Endpoint’ checkbox should be checked.
 2. Select the roles that should be handled by the hub’s SSO functionality at User 
    Access Hub > Roles.
 3. Add the site to the [User Access Hub](https://www.useraccesshub.com/) hub, setting
    the API key that was generated from step 1.
 4. In the hub, use the ‘Connect’ operation to allow the hub to handshake with the 
    site. Once this is complete, settings on User Access Hub > Authentication will 
    be updated – ‘Private Key’ will be populated, ‘Site ID’ will be populated and the‘
    Enabled the Handshake Endpoint’ checkbox will be unchecked.
 5. To enable all User Access Hub functionality, the final step is to check the ‘Enable
    all of the User Access Hub functionality.’ checkbox on User Access Hub > Settings.

### Overriding Configuration

In many cases, the configuration that exists in the database will need to be overridden.
The case of different config values for different environments springs to mind. 
This can be accomplished by overriding the configuration in a wp-config.php file:

    ```
    define( 'USERACCESSHUB_ALLOW_LOCAL', true );
    define( 'USERACCESSHUB_API_KEY', 'string' );
    define( 'USERACCESSHUB_DEFAULT_ROLE', 'role' );
    define( 'USERACCESSHUB_ENABLED', true );
    define( 'USERACCESSHUB_HANDSHAKE_ENABLED', true );
    define( 'USERACCESSHUB_PUBLIC_KEY', 'string' );
    define( 'USERACCESSHUB_REDIRECT', '/redirect/url' );
    define( 'USERACCESSHUB_ROLES', array( 'role1', 'role2' ) );
    define( 'USERACCESSHUB_SITE_ID', 1 );
    ```

### Commands

### Enable Handshake

This WP CLI command will enable the handshake endpoint so a site can be reconnected
with the Hub.

    ```
    wp enable-handshake
    ```

### Disable Handshake

This WP CLI command will disable the handshake endpoint.

    ```
    wp disable-handshake
    ```

### Regenerate API Key

This WP CLI command will re-generate the API key used for the handshake.

    ```
    wp regenerate-api-key
    ```

## 评价

此插件暂无评价。

## 贡献者及开发者

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

贡献者

 *   [ Scott Joudry ](https://profiles.wordpress.org/sjoudry/)

[帮助将「User Access Hub」翻译成简体中文。](https://translate.wordpress.org/projects/wp-plugins/useraccesshub)

### 对开发感兴趣吗?

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

## 额外信息

 *  版本 **1.0.4**
 *  最后更新：**1 月前**
 *  活跃安装数量 **不到10**
 *  已测试的最高版本为 **6.9.4**
 *  PHP 版本 ** 7.0 或更高版本 **
 *  语言
 * [English (US)](https://wordpress.org/plugins/useraccesshub/)
 * 标签
 * [admin](https://cn.wordpress.org/plugins/tags/admin/)[administration](https://cn.wordpress.org/plugins/tags/administration/)
   [authentication](https://cn.wordpress.org/plugins/tags/authentication/)
 *  [高级视图](https://cn.wordpress.org/plugins/useraccesshub/advanced/)

## 评级

尚未提交反馈。

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

[查看全部评论](https://wordpress.org/support/plugin/useraccesshub/reviews/)

## 贡献者

 *   [ Scott Joudry ](https://profiles.wordpress.org/sjoudry/)

## 支持

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

 [查看支持论坛](https://wordpress.org/support/plugin/useraccesshub/)

## 捐助

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

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