{% extends "base.html" %} {% block title %}{% if user %}Edit User{% else %}Create User{% endif %}{% endblock %} {% block content %}

{% if user %}Edit User{% else %}Create New User{% endif %}

Manage user account details and permissions

{% if user %}Edit User Account{% else %}New User Account{% endif %}
{% if error %} {% endif %} {% if success %} {% endif %}
{% if user %}Username cannot be changed{% else %}Unique username for login{% endif %}
User's email address
User's display name
User's access level and role. See role descriptions below.
Role Level Modules Permissions & Description
Super Admin 100 All Unrestricted access to entire system. Can manage all users and configuration.
Admin 90 All Full system administration. Can manage users, settings, database, backups.
Manager - Quality 70 Quality Create, edit, delete quality inspections. Can export and download quality reports.
Manager - Warehouse 75 Warehouse Full warehouse input and analytics access. Can manage assigned warehouse workers and zones.
Worker - Quality 50 Quality Create and view quality inspections only. Cannot edit, delete, or view reports.
Worker - Warehouse 35 Warehouse Input pages only (set locations, create entries). No access to reports or analytics. Must be assigned to a Manager.
Important: Warehouse workers are assigned to a manager for supervision. Quality and Warehouse modules are separate - users can have one or both module access.
{% if user %}Leave blank to keep current password{% else %}Minimum 8 characters{% endif %}
Re-enter password to confirm
Disabled accounts cannot log in
Cancel {% if user %} {% endif %}
{% if user %} {% endif %} {% endblock %}