Skip to content

Latest commit

 

History

History
29 lines (21 loc) · 1 KB

File metadata and controls

29 lines (21 loc) · 1 KB

Users

The Users page allows administrators to manage user accounts.

User Table

  • Columns: Username, Role (Admin/User), Created, Last Login, Actions.
  • Actions: Edit or delete users (cannot delete your own account).

Add User

  • Modal: Add User form with fields for username, password, and admin checkbox.
  • Validation: Username (3-32 chars, unique), password (min 4 chars).
  • Feedback: Inline error messages for invalid input or duplicate usernames.

Edit User

  • Modal: Edit User form with fields for new password and admin checkbox.
  • Validation: Password (min 4 chars, optional).
  • Feedback: Inline error messages for invalid input.
  • Admin Restriction: Cannot remove your own admin privileges while logged in.

Alerts

  • Success/Error Alerts: Shown for all user actions (add, edit, delete).

Behavior

  • User list updates live after changes.
  • All actions are performed via modals for a smooth experience.

This page provides full user management for the system.