{% extends "base.html" %} {% block title %}User Master{% endblock %} {% block header %}User Master{% endblock %} {% block content %}
{% set total_users = users|length if users else 0 %} {% set local_users = users|selectattr("auth_provider", "equalto", "LOCAL")|list|length if users else 0 %} {% set external_users = total_users - local_users %}
Access Control

User Master

Create users, assign roles, workforce groups, reporting details, branch, team role, productivity CTC and login landing page.
Visible Users
{{ total_users }}
Total Users
{{ total_users }}
Users matching current filters
Local Users
{{ local_users }}
Password managed in Crystal Nexus
External Users
{{ external_users }}
Managed via HRMS or SSO
Bulk Upload
Upload Users from Excel
Create multiple users with role, workforce group, designation, manager, company branch, department, team role, CTC and landing page details.
Download Template
Upload only .xlsx or .xls files.
Required
Minimum columns: name and email. For LOCAL users, password is required.
Supported Excel Headers
name, email, auth_provider, password, role, workforce_group, employee_code, designation, department, reporting_manager_email_or_code, team_role, monthly_ctc, company_name, company_branch_name, default_landing_endpoint, is_active
Create User
New User Account
Add local users or register external users synced from HRMS/SSO.
Provisioning Note
Local users need a password here. HRMS and SSO users are created without password management in this screen.
External users won’t have a password here.
Controls which KPI, workload and capacity modules include this user.
BD=15× CTC, AM=25× CTC.
Used in productivity reporting.
This page will open first after login, if the user has access.
Used for branch-based filtering and reporting.
Users
User Directory
Search, update user profile mapping, role, branch, landing page and password access.
{{ total_users }} User(s)
{% if q or provider or role_filter or workforce_group_filter %}
Clear Filters Filters Applied
{% endif %}
{% if users|length == 0 %}
No users found
No users matched the current filter criteria.
{% else %}
{% for u in users %} {% set selected_landing = namespace(label='Auto Decide', group='Default') %} {% if u.default_landing_endpoint %} {% for page in landing_pages %} {% if page.endpoint == u.default_landing_endpoint %} {% set selected_landing.label = page.label %} {% set selected_landing.group = page.group %} {% endif %} {% endfor %} {% endif %} {% endfor %}
User Provider Role Workforce Group Employee CTC Branch Landing Page Actions
{{ (u.name[:1] if u.name else 'U')|upper }}
{{ u.name }}
{{ u.email }}
{% if u.is_active %} Active {% else %} Inactive {% endif %}
{% if u.auth_provider == "LOCAL" %} LOCAL {% elif u.auth_provider == "HRMS" %} HRMS {% elif u.auth_provider == "SSO" %} SSO {% else %} {{ u.auth_provider or '—' }} {% endif %}
{{ u.role.name if u.role else "—" }}
{% if u.workforce_group %} {{ u.workforce_group.name }} {% else %} Not Assigned {% endif %}
{{ u.profile.employee_code if u.profile else "—" }}
{{ u.profile.designation.name if (u.profile and u.profile.designation) else "No designation" }}
{% if u.profile and u.profile.department %}
{{ u.profile.department }}
{% endif %} {% if u.profile and u.profile.team_role %} {{ u.profile.team_role }} {% endif %}
{{ indian_amount(u.monthly_ctc or 0) }}
Monthly CTC
{% if u.company_branch %}
{{ u.company_branch.company.name }}
{{ u.company_branch.branch_name }}
{% else %} — {% endif %}
{% if u.default_landing_endpoint %} {{ selected_landing.group }}
{{ selected_landing.label }}
{% else %} Auto Decide {% endif %}
{% if u.auth_provider == "LOCAL" %}
{% else %}
Password managed externally.
{% endif %}
{% endif %}
{% endblock %}