內容簡介
### 總結:
- User Access Hub 是一項服務,讓管理員可以跨越多個 CMS 站點管理使用者、使用者存取權限與角色。
### 問題與答案:
1. User Access Hub 的主要功能是什麼?
- 答: 提供管理員管理使用者、使用者存取權限、角色的服務,跨越多個 CMS 站點,顯著簡化管理多個網站所需的行政任務。
2. 在 User Access Hub 中,管理員可以如何集中管理使用者?
- 答: User Access Hub 提供單一集中式儀表板,管理員可以在其中管理所有連接的 CMS 站點的使用者,而不需要分別登入每個站點。
3. User Access Hub 如何處理角色管理?
- 答: 管理員可以為每個 CMS 站點的使用者分配站點定義的角色,允許為每個用戶調整對每個 CMS 站點的存取權。權限將會分配給在 CMS 站點上設置的角色。
4. 什麼是 Single Sign-On (SSO) 功能?
- 答: User Access Hub 提供的 Single Sign-On 功能讓使用者只需登入一次,即可存取所有連接的 CMS 站點,無需多次登入,提升使用者體驗與安全性。
5. User Access Hub 如何保持追蹤使用者活動的紀錄?
- 答: 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.
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:
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.
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.
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.
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.
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.
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.
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.
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 for PHP.
This plugin requires an account on User Access Hub.
Configuration
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.
Select the roles that should be handled by the hub’s SSO functionality at User Access Hub > Roles.
Add the site to the User Access Hub hub, setting the API key that was generated from step 1.
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.
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
