
內容簡介
有很多外掛可用於管理角色和權限,但是沒有一個提供一個簡單介面,可以將多個角色分配給一個使用者。
這個外掛期望複雜的權限由管理員透過另一個外掛來處理,我不會重複現有的功能。這個「Role Includer」只允許具有「promote_users」權限的使用者進行簡單的角色分配。
因此,只需創建一個新角色,例如「staff」,並將「promote_users」權限添加到此角色中,所有員工都可以處理角色分配。
如果您希望從「staff」隱藏/屏蔽特定角色(例如「Administrator」),以便員工無法分配更高的訪問級別,則可以使用「Role Excluder」外掛排除更高的角色。該外掛在justinandco.com 上提供。
外掛網站
GitHub - 開發
https://github.com/justinticktock/role-includer
外掛標籤
開發者團隊
原文外掛簡介
There are lots of plugins to handle roles and capabilities, however, none provide one simple interface for allocating multiple roles to a user.
This plugin expects the complexity of capabilities to be handled by the Administrator through another plugin, I’m not reproducing what is already available. What ‘Role Includer’ allows is for any user with the ‘promote_users’ capability a simple way to handle allocation of roles and only that.
So by simply creating a new role, for example “staff” and adding the ‘promote_users’ capability to this role, all staff members will be able to handle role assignment.
If you wish to hide/mask-out a particular role from “staff” ( such as “Administrator” ) so that staff cannot allocate the higher access level then you can exclude higher roles by using the “Role Excluder” plugin available over at justinandco.com
Plugin site
GitHub – Development
https://github.com/justinticktock/role-includer
