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

{% if user %}Edit User: {{ user.username }}{% else %}Create New User{% endif %}

{% if user %}Modify user information and permissions{% else %}Add a new user to the system{% endif %}

User Information
{% if user %}
Username cannot be changed after creation.
{% endif %}
Select the appropriate permission level for this user.
{% if user %} Leave blank to keep current password. Otherwise, enter new password. {% else %} Enter a secure password (minimum 6 characters recommended). {% endif %}
Cancel
Permission Levels
Viewer Level 1

Read-only access to view scripts and results.

User Level 2

Execute basic scripts and manage personal projects.

Operator Level 3

Execute all scripts including system operations.

Developer Level 4

Manage scripts, environments, and system configuration.

Administrator Level 5

Full system access including user management.

{% endblock %}