Design and implement role-based access control
Design RBAC system for:
User roles: ${{USER_ROLES}}
Resources: ${{PROTECTED_RESOURCES}}
Permissions needed: ${{PERMISSIONS}}
Create:
- Role hierarchy
- Permission definitions
- Role-permission mapping
- User-role assignment
- Permission checking middleware
- Dynamic role management
- Audit logging
- Admin interface designOr press ⌘C to copy
Replace these placeholders with your own content before using the prompt.
[{USER_ROLES][{PROTECTED_RESOURCES][{PERMISSIONS]