🎯 What is this plugin?
RoleArchitect is a powerful WordPress plugin that gives you complete control over user roles, permissions, and content access. Whether you need to create custom roles, restrict admin menus, or control who can see specific content, this plugin has you covered.
Core Role Management
Create Custom Roles
Add new user roles with custom names like "Store Manager", "Content Reviewer", or any role your site needs.
Edit Existing Roles
Modify capabilities and permissions of any existing role with an intuitive interface.
Delete Roles (PRO)
Remove unnecessary or unused roles. System roles like Administrator are protected from deletion.
Clone Roles (PRO)
Duplicate an existing role with all its capabilities to create a new role quickly.
Capability Management
Add or remove individual capabilities from roles with a searchable, organized interface.
Capability Search
Search and filter through hundreds of capabilities when editing roles.
Bulk Selection
Select All or Clear All capabilities with one click when configuring roles.
System Role Protection
Prevents accidental deletion of critical system roles like Administrator.
User Management
- Multiple Role Assignment (PRO): Assign multiple roles to a single user simultaneously
- User Search: Search users by username, display name, or email address
- List All Users: View all users in the system (optimized with 50-user limit)
- Visual Role Display: See all assigned roles for each user at a glance
- Self-Protection: Prevents administrators from removing their own admin privileges
Admin Menu Restriction
Role-Based Menu Visibility
Control which admin menu items each role can see in the WordPress dashboard.
Toggle Interface
Simple ON/OFF toggles for each menu item - blue means visible, gray means hidden.
Plugin Menu Detection
Automatically identifies and labels plugin menus with green badges for easy identification.
Submenu Management
Control visibility of both parent and child menu items independently.
Bulk Actions
Enable all, disable all, or reset to defaults with one click.
Dynamic Capability Sync
Automatically grants required capabilities when menus are made visible.
Default Permission Detection
Shows WordPress default menu permissions for each role.
Content Display Restriction
- Shortcode-Based Restriction: Use
[ROAR_restrict]shortcode to restrict content visibility - Role-Based Restriction: Show content only to specific roles using
role="administrator" - Multiple Role Support: Allow multiple roles to view restricted content with
roles="admin,editor" - Capability-Based Restriction (PRO): Restrict content based on user capabilities using
cap="manage_options" - Custom Access Denied Messages: Customize the message shown to unauthorized users
- Shortcode Examples: Built-in examples with copy-to-clipboard functionality
Page/Post Content Restriction
Bulk Content Restriction (PRO)
Apply restrictions to multiple posts/pages at once with bulk actions.
Individual Restriction
Edit restrictions for individual posts/pages with detailed controls.
Content Type Filtering
Filter by posts, pages, or custom post types for easy management.
Three Restriction Modes
Public (everyone), Restricted (selected roles only), or Logged-in only (PRO).
Role Selection
Choose exactly which roles can access restricted content.
Custom Denial Messages
Set custom messages for each restricted item.
Visual Indicators
Restricted content is clearly marked in admin lists.
Pages & Custom Post Types (PRO)
Restrict pages and custom post types in addition to posts.
Content Permissions Management
- Post/Page Permission Control: Manage which roles can view, edit, and delete content
- Dedicated Permissions Page: Centralized interface for managing all content permissions
- Permission Categories: Organized by read, edit, publish, and delete permissions
Settings & Configuration
Default Role Selection
Set which role new users receive upon registration.
Content Visibility Settings
Control whether restricted content appears in admin lists.
Export Configuration
Export all role configurations as JSON for backup or migration.
Import Configuration
Import previously exported configurations to restore or migrate settings.
Reset to Defaults
Restore WordPress default roles and permissions with one click.
Security Features
- AJAX Nonce Verification: All AJAX requests are validated with security nonces
- Permission Checks: Only users with manage_options capability can access plugin features
- Page Access Control: Prevents unauthorized users from accessing restricted pages even with direct URLs
- Self-Protection: Prevents users from removing their own administrator privileges
- Capability Cache Management: Automatically clears user capability caches when roles change
Advanced Features
WooCommerce Integration
Automatic detection and management of all WooCommerce capabilities.
Custom Post Type Support
Works seamlessly with custom post types from themes and plugins.
Dynamic Capability Detection
Automatically detects and manages capabilities for all installed plugins.
Cache Management
Automatic cache clearing when roles or permissions change to ensure immediate effect.
Developer & Diagnostic Tools
- Debug Scripts: Multiple diagnostic PHP scripts included for troubleshooting (test-capabilities.php, debug-menus.php, diagnose-plugin-issue.php)
- Menu-Capability Synchronization: Ensures menu visibility and capabilities stay in sync
- Role Permission Checker: Tools to verify and diagnose role permission issues
User Interface Features
- Modern Card-Based Design: Clean, intuitive interface with card layouts
- Modal Dialogs: User-friendly modals for editing roles and restrictions
- Loading States: Visual feedback during AJAX operations
- Success/Error Alerts: Clear feedback messages for all operations
- Responsive Design: Works perfectly on various screen sizes
- Dashicons Integration: Uses WordPress standard icons throughout
- Color-Coded Status: Visual indicators for different states (active, restricted, etc.)
Translation & Localization
- Full Translation Support: All strings are translatable using WordPress standards
- Turkish Translation Included: Complete Turkish language support out of the box
- Text Domain: Uses 'dru-rol-editor' text domain for translations
- POT File Included: Template file for creating new translations in any language
💡 Why Choose This Plugin?
This plugin provides the most comprehensive role and permission management solution for WordPress. Whether you're running a membership site, a multi-author blog, or a complex business application, you'll have complete control over who can access what throughout your entire site. With its intuitive interface, powerful features, and robust security, it's the perfect solution for managing user permissions at any scale.