這個外掛並未在最新的 3 個 WordPress 主要版本上進行測試。開發者可能不再對這個外掛進行維護或提供技術支援,並可能會與更新版本的 WordPress 產生使用上的相容性問題。

BP Devolved Authority

外掛說明

BP Devolved Authority allows site administrators to devolve the ability to manage Groups, Activity, Members and Emails to other site members. For Xprofile information, you can also give specific individuals the ability to edit the xprofile fields for one or more named individuals.

BuddyPress has not traditionally allowed site administrators to grant authority to manage aspect of BuddyPress to users without ‘manage_options’ capability. This plugin changes that and allows each of the BP Components to be managed by site members so long as they have the ‘edit_posts’ capability.

Note that roles allowed to manage members should also have the ‘list_users’ capability, this allows the users list menu item to be displayed in the dashboard for that member.

The new feature – individual xprofile management delegation, creates a simple, secure delegation system whereby a privileged user (such as an administrator) can assign other registered BuddyPress members to be “delegates” for a given user. A delegate has the capability to view and edit Extended Profile (XProfile) fields for the delegated user. This is useful on sites where certain relationships exist between one user and another, such as legal guardianship by an adult over a child. Using delegation reduces the need to share passwords or log in to shared accounts.

Roles and capabilities for the delegated xprofile feature

This plugin uses the built-in capabilities system as part of WordPress core, along with core BuddyPress hooks (bp_current_user_can) to check for appropriate permissions, making it both simple to customize and as secure as WP and BP core code. The custom capabilities are:

  • edit_user_delegates – Users with this capability can assign delegates for users they can edit (determined by edit_users).

Additionally, the following core capabilities are required:

  • list_users – The delegation options implicitly enumerate all registered users, so a user must also have the list_users capability to be granted access to the Delegation user interface.
  • edit_users – If you cannot edit_users, you cannot edit_user_delegates, either.

When this option is enabled, the admin can go to the users extended profile tab from the Dashboard>>Users list and choose to delegate authority over the xprofile data to another site member. That site member will then find in their Dashboard>>Users menu and option to see a list of “Devolved Profiles”.

Once the plugin is activated, visit the Settings>>BP Devolved Authority page to choose which roles can manage your BP Components.

This plugin needs BuddyPress to work.

螢幕擷圖

  • screenshot-1.png – Plugin Settings page.

安裝方式

  1. Upload the full directory into your wp-content/plugins directory
  2. Activate the plugin at the plugin administration page
  3. Adjust settings via the BP Devolved Authority admin page

使用者評論

這個外掛目前沒有任何使用者評論。

參與者及開發者

以下人員參與了開源軟體〈BP Devolved Authority〉的開發相關工作。

參與者

將〈BP Devolved Authority〉外掛本地化為台灣繁體中文版

對開發相關資訊感興趣?

任何人均可瀏覽程式碼、查看 SVN 存放庫,或透過 RSS 訂閱開發記錄

變更記錄

1.2.0

  • 29/07/2024

  • New feature: Now includes the features of the old plugin BP Delegated xprofile, for additional user management delegation options.

1.1.0

  • 20/07/2024

  • Update: Improved translation and escaping of outputs.

1.0.2

  • 10/02/2021

  • Fix: Translation improvements

1.0.1

  • 07/01/2021

  • Fix: Corrected error with text_domain.

1.0.0

  • Initial Release.