跳到内容

BP Delegated XProfile

v0.1.1

Meitar · 2017年7月7日 上架

Enables delegating a user's Extended Profile for editing by other users.

正在使用
10 以下
评分
暂无
累计下载
2,034
最近更新
2017年8月24日
已测试到 4.8.35

贡献者

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.

Donations for this plugin make up a chunk of my income. If you continue to enjoy this plugin, please consider making a donation. 🙂 Thank you for your support!

Roles and capabilities

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.

On a default WordPress and BuddyPress installation, these capabilities are granted only to Administrator users. However, this can be changed using the built-in capability filter hooks.

Plums

按场景查找 WordPress 插件。安装量、评分和兼容版本来自官方目录。

导航

说明

WordPress 是 WordPress Foundation 的商标。本站与 WordPress Foundation、Automattic 没有隶属关系。这里不托管插件文件,下载和安装以 WordPress.org 上的页面为准。

© 2026 Plums