{% extends "base.html" %} {% block title %}Settings{% endblock %} {% block content %}

Manage Users (Legacy)

External Server Settings

šŸŽÆ User & Permissions Management

Simplified 4-Tier System: Superadmin → Admin → Manager → Worker

Streamlined interface with module-based permissions (Quality, Warehouse, Labels)

šŸŽÆ Manage Users (Simplified)
Recommended: Use the simplified user management for easier administration
{% if session.role in ['superadmin', 'admin'] %}

šŸ’¾ Database Backup Management

Automated Backup System: Schedule and manage database backups

Quick Actions

Backup Schedule

Available Backups

Loading backups...

ā„¹ļø Backup Location: /srv/quality_app/backups
Configure backup path in docker-compose.yml (BACKUP_PATH environment variable)
{% if current_user.role == 'superadmin' %}

āš ļø Restore Database

WARNING: Restoring will permanently replace ALL current data with the backup data. This action cannot be undone!

šŸ“¤ Upload External Backup File

Upload a backup file from another server or external source. File will be saved to the backups directory.

Accepted format: .sql files only | Max size: 100MB
{% endif %}
{% endif %}
{% endblock %}