Roles & Capabilities

Lýsing

Manage your roles and capabilities with simple, yet powerful tools in the admin area.

„Roles & Capabilities“ provides a set of tools to help administrators to manage their site roles and capabilities as well as the site users capabilities.
Only administrator will be able to access the plugin features, there is no extra capability that will grant access to this tool.

With the plugin you will be able to:

  • Create new roles.
  • Edit role capabilities and display name.
  • Clone a role into a new role.
  • Grant or revoke capabilities to roles
  • Create new capabilities.
  • Delete user defined capabilities.
  • Grant or revoke capabilities to user

Development

This plugin is open source. You can view the source code here: Github.

Skjámyndir

  • New menu items to handle roles & capabilities.
  • New quick action „Capabilities“ in users list page.
  • Quick edit user capabilities.
  • Manage your site roles.
  • Edit role capabilities easily, grant or revoke role capabilities.
  • Bulk edit actions in users page.
  • Role actions.
  • Capabilities manager page. System capabilities are not deletable.
  • Capabilities list page bulk actions.

Uppsetning

  1. Upload leira-roles to the /wp-content/plugins/ directory
  2. Activate the plugin through the ‘Plugins’ menu in WordPress
  3. Happy coding 🙂

SOS

Can I create new user roles?

Yes, you can add new roles, and assign the capabilities that fit the most for that role.

Can I remove WordPress default roles?

No, system default roles are not allowed to deleted. WordPress system relay on those roles to work properly.

Can I create a new roles with no capabilities?

Yes.

Can I create new capabilities to assign to a role?

Yes, new capabilities can be created.

Can I remove system capabilities?

No, WordPress relay on those capabilities to work properly.

Umsagnir

1. júlí, 2022
finally! Thank you so much for this! After testing several very complex and confusing user role plugins (which by the way just added more garbage to my wp_options table), I found „Roles & Capabilities“. It was all I needed to get rid of more than half the weight of the option „wp_user_roles“ in the table „wp_options“ that slowed down my wp-admin.
24. nóvember, 2020 1 reply
Coming from ‘Members’ which got bloated, this is just one of those hidden gems in the wordpress repository that is simple, clean bloatfree and just works. Keep it up. 🙂
11. maí, 2020 1 reply
I was not able to remove the capabilities installed by an old plugin, and they were many. I tried the best known role managers. After deallocating across all roles, they were also not removed. With this plugin, I finally got rid of them.
Skoða 7 umsagnir

Þátttakendur & höfundar

“Roles & Capabilities&#8221 er opinn hugbúnaður. Eftirfarandi aðilar hafa lagt sitt af mörkum við smíði þessarar viðbótar.

Höfundar

“Roles & Capabilities” has been translated into 3 locales. Thank you to the translators for their contributions.

Translate “Roles & Capabilities” into your language.

Interested in development?

Browse the code, check out the SVN repository, or subscribe to the development log by RSS.

Breytingarsaga

1.1.10

  • WordPress 6.6 compatibility check
  • Fix issue reported by Wordfence,
  • Sanitize inputs correctly
  • Scape correctly data before output
  • Improved UI, fix CSS errors

1.1.9

  • WordPress 6.4 compatibility check
  • Remove trailing space in 5 star link
  • Add GitHub link
  • Apply WordPress coding style
  • Ignore VS Code workspaces
  • Use lf line endings for all text files

1.1.8

  • WordPress 5.9 compatibility check

1.1.7

  • WordPress 5.7 compatibility check

1.1.6

  • WordPress 5.6 compatibility check

1.1.5

  • Fix typo, missing the ‘v’ in a closing div tag
  • Fix typos in readme file

1.1.4

  • Added Github Action automatic deploy
  • Added Github Action automatic update readme.txt and assets
  • Methods documentation updated

1.1.3

  • Added rate us message to footer
  • Added cookie based notifications
  • Compatibility check with WP 5.5.* version
  • Fix some typos

1.1.2

  • Roles list column number correctly formatted
  • Support link url updated
  • Inline edit checkbox CSS fix

1.1.1

  • Translated to spanish language

1.1.0

  • Plugin refactored
  • Fix bug creating new role, capabilities are show now upon role creation in the role list
  • Fix bug cloning role, capabilities are show now upon role cloning in the role list

1.0.2

  • Adding banners to assets

1.0.1

  • Fix bug cloning a role
  • Improve list table sort
  • Improve capabilities sort
  • New assets and banner for the plugin page

1.0.0

  • The first plugin release