User Management
User Management
Overview
The User Management category provides comprehensive tools for managing users, roles, and permissions within your admin panel. This system allows you to control who has access to your application, what they can do, and how their permissions are organized through a flexible role-based access control (RBAC) system.
Modules in This Category
Users
Manage user accounts, including creating new users, editing user information, assigning roles, and controlling user status. The Users module is your central hub for all user-related operations.
Key Features:
- Create and manage user accounts
- Search and filter users by role, status, or name
- Assign multiple roles to users
- Bulk role assignment and removal
- View user permissions and activity
Roles
Define and manage roles that group permissions together. Roles make it easy to assign consistent sets of permissions to multiple users at once.
Key Features:
- Create custom roles with specific permissions
- Edit role permissions
- View users assigned to each role
- Manage role descriptions
- Handle user reassignment when deleting roles
Permissions
View and understand the permission system that controls access to features throughout the admin panel. Permissions are organized by category for easy management.
Key Features:
- Browse all available permissions by category
- View which roles have specific permissions
- Understand permission naming conventions
- Synchronize system permissions
- See permission assignments across roles
Impersonation
Temporarily log in as another user to troubleshoot issues, test permissions, or provide support without needing their password.
Key Features:
- Impersonate any user account
- View the system from a user's perspective
- Test permission configurations
- Safely exit impersonation
- Audit trail of impersonation sessions
Common Workflows
Setting Up a New User
- Create the user account in the Users module
- Assign appropriate roles based on their responsibilities
- Verify their permissions in the user details view
- Optionally test their access using Impersonation
Creating a Custom Role
- Navigate to Roles and create a new role
- Give it a descriptive name and description
- Select the appropriate permissions from the Permissions list
- Assign the role to relevant users
- Test the role's access using impersonation
Managing User Access
- Use the Users module to find the user
- View their current roles and permissions
- Add or remove roles as needed
- Use bulk actions for multiple users with similar needs
- Monitor changes in the audit logs
Troubleshooting Permission Issues
- Check the user's assigned roles in Users
- Review the role's permissions in Roles
- Verify the specific permission exists in Permissions
- Use Impersonation to test the user's actual access
- Adjust roles or permissions as needed
Best Practices
-
Use Roles, Not Direct Permissions: Assign permissions to roles, then assign roles to users. This makes management much easier as your team grows.
-
Follow the Principle of Least Privilege: Only grant users the permissions they need to do their job. Start with minimal access and add more as needed.
-
Use Descriptive Role Names: Name roles based on job functions (e.g., "Content Editor", "SEO Manager") rather than generic names.
-
Regular Access Reviews: Periodically review user roles and permissions to ensure they're still appropriate.
-
Test Before Deploying: Use impersonation to test new roles and permission configurations before assigning them to real users.
-
Document Custom Roles: Add clear descriptions to custom roles explaining their purpose and intended use.
Security Considerations
- Super admin accounts have unrestricted access and should be limited to trusted administrators only
- System roles (super_admin, admin) cannot be deleted or modified to prevent accidental lockouts
- Users cannot delete their own accounts to prevent accidental self-removal
- All role and permission changes are logged in the audit system
- Impersonation sessions are tracked and auditable
Quick Links
Quick Links
Need More Help?
Our comprehensive documentation covers everything from basic setup to advanced configurations. Check out these additional resources: