Umbrella In School

Real data is live, and test roles now control admin access.

This is still a test identity system, but it already separates normal users from admins and blocks admin-only actions for non-admin roles.

Current test identity

Active role

Guest

No active test identity yet.

Permission rules

Normal users can browse public pages and view live statistics.

Only admins can access the admin test console and run management writes.

Admin-only APIs now return 403 for non-admin sessions.

Users

4

Umbrellas

3

Total Orders

4

Active Orders

2

Available Umbrellas

0

Current database status

Connected to Neon

Prisma is reading live data successfully.

What changed

The home page still shows real database stats on every request.

The current role is stored in a test cookie so refresh keeps your identity.

Formal login can later replace this cookie layer without changing admin checks.