Цей плагін не перевірявся з останніми 3-ма основними випусками WordPress. Можливо, він більше не може розроблятися або підтримуватися, і він може мати проблеми сумісності при використанні з більш новими версіями WordPress.

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

http://justinandco.com/plugins/role-includer/

GitHub – Development

https://github.com/justinticktock/role-includer

Скріншоти

  • The Settings Screen.

Встановлення

  1. Upload plugin-name.php to the /wp-content/plugins/ directory
  2. Activate the plugin through the ‘Plugins’ menu in WordPress
  3. Goto the admin Users menu..All Users, hover over a user name in the listing and select “Roles”
  4. Select/De-select the roles required for the user.

Відгуки

This plugin gets the job done. I'm using it in combination with Ultimate Member, one of those free all-in-one plugins that markets itself as the #1 user profile and membership plugin. However, Ultimate Member doesn't have the ability to assign multiple roles to a single user and it doesn't look like they're going to add it (see this ticket from August 2017). I didn't want another bloated membership plugin because I put all my eggs in this basket, and the client's project I'm working on has a quick approaching deadline. This small little utility plugin came to my rescue and is perfect for just adding in this snippet of much-needed functionality. Thank YOU!
Прочитати всі 4 відгуки

Учасники та розробники

“Role Includer” — проект з відкритим вихідним кодом. В розвиток плагіну внесли свій вклад наступні учасники:

Учасники

“Role Includer” було перекладено на 5 локалізацій. Дякуємо перекладачам за їх роботу.

Перекладіть “Role Includer” на вашу мову.

Цікавитесь розробкою?

Перегляньте код, перегляньте сховище SVN або підпишіться на журнал розробки за допомогою RSS.

Журнал змін

Change log is maintained on the plugin website