Roles
Access ยท Permissions ยท Security
Role Management
Roles define user permissions and access levels within the TALENTS System. They ensure that users have appropriate access to system features based on their responsibilities and authority.
Role creation
Define user roles with specific permissions.
Permission management
Control access to system features.
Security enforcement
Ensure proper security protocols.
Key Features
Essential role tools.
Role Creation
Define user roles with specific permissions.
Permission Management
Control access to system features.
Hierarchical Structure
Organize roles in hierarchical structure.
Audit Trail
Track role assignments and changes.
Security Enforcement
Ensure proper security protocols.
Roles Management Overview
Visual guide to role management features.
This video demonstrates the complete role management workflow including role creation, permission assignment, user management, and administrative features.
Company User Roles
Predefined company roles with specific permissions.
System Administrator
Full system access and control. Can manage all users, roles, and system settings.
Manager
Department and team management with oversight capabilities.
Staff Member
Basic access for regular staff to perform daily tasks.
Viewer
Read-only access to information and reports.
Permission Categories
System permissions organized by functional area.
User Management Permissions
users.viewView user listusers.createCreate usersusers.updateEdit usersusers.deleteDelete usersRole Management Permissions
roles.viewView rolesroles.createCreate rolesroles.updateEdit rolesroles.deleteDelete rolesProject & Job Management
projects.viewView projectsprojects.createCreate projectsjobs.viewView jobsjobs.createCreate jobsFinancial & Client Management
finances.viewView financesclients.viewView clientsclients.createCreate clientsshifts.viewView shiftsRole Assignment
How roles are assigned to users.
Admin Assignment
System administrators are assigned during initial setup and have full access.
Manager Assignment
Managers are assigned by administrators and can manage department resources.
Dynamic Assignment
Roles can be dynamically assigned based on project requirements and user responsibilities.
Time-based Access
Temporary roles can be assigned for specific time periods or projects.
Data Grid Features
Advanced table capabilities for role management.
Real-time Search
Search by role name with instant results and server-side filtering.
Server-side Pagination
Handle large datasets with configurable page sizes (10, 25, 50, 100, All).
Column Sorting
Server-side sorting by role name, creation date, and user count.
Bulk Operations
Select multiple roles for bulk delete operations.
Row Actions Menu
View, Edit, Delete, and Manage Permissions actions.
User Count Display
Shows number of users assigned to each role in real-time.
Data Grid Visual Examples
Visual demonstrations of role management interfaces.
Roles Data Table
Main roles list with search, pagination, and bulk operations

Create Role Screen
Role creation form with permission assignment and validation

API Endpoints
Company role controller endpoints.
| Method | Endpoint | Description |
|---|---|---|
GET | /api/roles | Get paginated roles with search |
POST | /api/roles | Create new role |
GET | /api/roles/{}id} | Get single role details |
PUT | /api/roles/{}id} | Update role |
DELETE | /api/roles/{}id} | Delete role |
DELETE | /api/roles/bulk | Bulk delete roles |
Best Practices
Role management guidelines.
| Practice | Recommendation |
|---|---|
| Principle of Least Privilege | Grant minimum necessary access for each role |
| Regular Reviews | Review role assignments and permissions quarterly |
| Clear Documentation | Document role responsibilities and permission sets |
| Audit Monitoring | Monitor role changes and access patterns |
| Role Naming | Use clear, descriptive role names that reflect responsibilities |
Troubleshooting
Common issues and solutions.
| Issue | Fix |
|---|---|
| Cannot create role | Check user has roles.create permission |
| Roles not loading | Verify company ID is set and user is authenticated |
| Duplicate role names | Role names must be unique within each company |
| Permission sync issues | Run permission seeder to sync admin permissions |
| Bulk delete missing | Verify user has roles.delete permission |
Security Considerations
Security guidelines for role management.
- Multi-factor authentication for sensitive roles
- Session timeout and automatic logout
- Role expiration policies
- Access log monitoring
- Compliance verification