Plugin Directory

Capability Manager

Author: Jordi Canals

The Capability Manager plugin provides a simple way to manage role capabilities. Using it, you will be able to change the capabilities of any role, add new roles, copy existing roles into new ones, and add new capabilities to existing roles. You can also delegate capabilities management to other users. In this case, some restrictions apply to this users, as them can only set/unset the capabilities they have. With the Backup/Restore tool, you can save your Roles and Capabilities before making changes and revert them if something goes wrong. You'll find it on the Tools menu. At the current version, you cannot manage capabilities at user level (only can be managed for roles). This will be included in next versions.

Languages included:

Features:

  • Manage role capabilities.
  • Add new roles or delete existing roles.
  • Add new capabilities to any existing role.
  • Backup and restore Roles and Capabilities to revert your last changes.

Future Planned Features

  • Manage capabilities at user level.

Who can manage?

  • Capability manager only supports one role per user.
  • Only users with 'manage_capabilities' can manage them. This capability is created at install time and assigned to administrators.
  • Administrator role cannot be deleted.

Administrators

  • Only administrators can grant or remove 'manage_capabilities' to other users. Cannot be removed from administrators.
  • Can grant or remove any capability, included the ones them not have.
  • Only administrators can manage the 'administrator' role.
  • Only administrators can delete roles.

Other users granted to manage capabilities

  • Cannot grant or remove 'manage_capabilities'.
  • Cannot manage 'administrator' role.
  • Cannot delete roles.
  • Can only manage roles that have the same or lower level than the user.
  • Can only grant or remove capabilities they have.
  • Cannot manage roles they have. (This is to prevent granting/removing his own capabilities).

Rules to create new capabilities or roles

  • Can be maximum 40 characters lenght.
  • Have to start with a letter.
  • Can contain only letters, digits, spaces and underscores.