Skip to content

Latest commit

 

History

History
36 lines (22 loc) · 1.38 KB

File metadata and controls

36 lines (22 loc) · 1.38 KB

Chateando Admin

Angular 21 + DevExtreme admin app for Chateando. Runs on http://localhost:4201/ and proxies /api to the .NET API (default http://localhost:5095).

Run

From admin/:

npm install
npm start

Sign in with the same credentials as the chat app (e.g. test1 / Test123!).

Language (English / Spanish)

Use the EN | ES control in the shell header. Default is English; the choice persists in localStorage as hc_locale. After changing translations or UI strings, rebuild Docker images with docker compose up --build if you deploy that way.

v1 access model

Any authenticated user who can log in may create, edit, and delete users, departments, and groups. The Is admin checkbox on users is stored for future role enforcement but does not restrict the panel in v1.

Security note: /api/admin/* accepts any valid JWT. Do not expose this API on the public internet without adding the AdminOnly policy (claim isAdmin is already issued at login).

Features

Section API
Users /api/admin/users
Departments /api/admin/departments
Groups /api/admin/groups

Each list uses a DevExtreme DataGrid with a search box (filters all visible columns client-side) and pagination (10–100 rows per page).

Apply backend migration V010 (Users.IsAdmin) before first use.