Skip to main content

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.

All Permissions
๐Ÿข

Manager

Department and team management with oversight capabilities.

users.viewprojects.viewjobs.view
๐Ÿ‘ฅ

Staff Member

Basic access for regular staff to perform daily tasks.

todos.viewcalendar.view
๐Ÿ‘๏ธ

Viewer

Read-only access to information and reports.

view-only

Permission Categories

System permissions organized by functional area.

User Management Permissions

users.viewView user list
users.createCreate users
users.updateEdit users
users.deleteDelete users

Role Management Permissions

roles.viewView roles
roles.createCreate roles
roles.updateEdit roles
roles.deleteDelete roles

Project & Job Management

projects.viewView projects
projects.createCreate projects
jobs.viewView jobs
jobs.createCreate jobs

Financial & Client Management

finances.viewView finances
clients.viewView clients
clients.createCreate clients
shifts.viewView shifts

Role 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

Roles Data Table

Create Role Screen

Role creation form with permission assignment and validation

Create Role Screen

API Endpoints

Company role controller endpoints.

MethodEndpointDescription
GET/api/rolesGet paginated roles with search
POST/api/rolesCreate 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/bulkBulk delete roles

Best Practices

Role management guidelines.

PracticeRecommendation
Principle of Least PrivilegeGrant minimum necessary access for each role
Regular ReviewsReview role assignments and permissions quarterly
Clear DocumentationDocument role responsibilities and permission sets
Audit MonitoringMonitor role changes and access patterns
Role NamingUse clear, descriptive role names that reflect responsibilities

Troubleshooting

Common issues and solutions.

IssueFix
Cannot create roleCheck user has roles.create permission
Roles not loadingVerify company ID is set and user is authenticated
Duplicate role namesRole names must be unique within each company
Permission sync issuesRun permission seeder to sync admin permissions
Bulk delete missingVerify 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