Simple Role Editor
Edit user roles and their capabilities with a simple visual interface. Add or remove permissions from existing roles, create custom roles for your specific needs, and reset roles if something goes wrong - all without touching code.
Use Cases
- Remove the ability for Authors to delete their published posts
- Let Editors access the theme customizer without full admin access
- Create a “Support Staff” role with specific capabilities for your team
- Give Contributors the ability to upload media files
- Lock down Subscriber capabilities for tighter security
How It Works
- Select a role from the dropdown
- Check or uncheck capabilities to add or remove them
- Save the changes
- All users with that role immediately gain or lose those capabilities
Where to Find It
Go to Switchboard → User Management and find the Simple Role Editor module. Click the settings icon to open the role editor interface.
The Role Editor Interface
Role Selector
At the top, a dropdown lets you pick which role to edit. The dropdown shows each role’s name and how many users currently have that role.
Capability Search
Use the search box to quickly find specific capabilities. Helpful when you’re looking for something specific among dozens of capabilities.
Capabilities List
A table showing all available capabilities:
- Enabled capabilities appear at the top with a blue highlight
- Disabled capabilities appear below
- Check a box to enable, uncheck to disable
The counter shows “X of Y capabilities enabled” for the selected role.
Managing Roles
Editing an Existing Role
- Select the role from the dropdown
- Find the capability you want to change (use search if needed)
- Check the box to enable, uncheck to disable
- Click Save Settings at the bottom
Creating a New Role
- Click Create New Role button (top right)
- Enter a Role ID (slug) - lowercase letters, numbers, underscores only
- Enter a Display Name - what users will see
- Optionally, choose a role to copy capabilities from
- Click Create Role
Resetting a Role
Click Reset to Default to restore a WordPress default role (Administrator, Editor, Author, Contributor, Subscriber) to its original capabilities. This is useful if you’ve made changes and want to start fresh.
Deleting a Custom Role
Custom roles (ones you’ve created) show a delete button next to the dropdown. Click it to remove the role. You can’t delete default WordPress roles or roles that have users assigned.
Common Capability Changes
Let Authors Upload Media
Enable: upload_files
Let Editors Manage Users
Enable: list_users, edit_users
Prevent Authors from Deleting Posts
Disable: delete_posts, delete_published_posts
Give Contributors Publishing Rights
Enable: publish_posts
Let Subscribers Edit Their Profile
Already enabled by default (read), but you might add edit_posts for limited content access.
WordPress Default Capabilities
Administrator (all capabilities including):
manage_options- Access Settings menusinstall_plugins,activate_plugins- Plugin managementswitch_themes,edit_themes- Theme managementedit_users,create_users,delete_users- User management
Editor:
moderate_comments- Approve/reject commentsmanage_categories- Create/edit categoriesedit_others_posts- Edit any user’s postspublish_posts,edit_published_posts- Full post controlunfiltered_html- Use any HTML in posts
Author:
upload_files- Use media libraryedit_published_posts- Edit own published postspublish_posts- Publish own postsdelete_posts- Delete own posts
Contributor:
edit_posts- Create and edit own draftsdelete_posts- Delete own drafts- Cannot publish or upload files
Subscriber:
read- Read content (required for login)
Safety Features
Warning Banner
A red warning appears at the top reminding you that incorrect capability changes can break your site. Always test changes carefully.
Can’t Lock Yourself Out
Be careful not to remove manage_options from all Administrator accounts - you could lock yourself out of Switchboard settings.
Reset Option
If you mess up a default role, the Reset button restores original capabilities.
FAQ
Will changing capabilities affect existing users immediately?
Yes. Capability changes apply instantly to all users with that role. If you removeupload_files from Authors, all Authors immediately lose media library access.Can I give a role admin-level access to specific things?
Yes, but be careful. You can add individual capabilities likemanage_options to any role, but this grants significant access. Test thoroughly.What happens if I delete a role that has users?
You can’t. The delete button only appears for roles with zero users. Reassign users to a different role first.Why can’t I delete Administrator or Editor roles?
Default WordPress roles can’t be deleted, only modified. This prevents accidentally breaking core functionality.Do custom roles persist after disabling Switchboard?
Yes. Custom roles are stored in WordPress’s database. Disabling Switchboard doesn’t remove roles you’ve created.Always test capability changes with a test user account before applying to real users. Use the Login As User module to quickly verify what a role can and cannot do.
Rather than heavily modifying default roles, consider creating a custom role with exactly the capabilities you need. This keeps default roles as a reference point.
Get access to all 147 modules with a single license