test: restructure WepApiTest.http with three clearly separated users

The test file now creates three distinct users at the start:
  - admin (seeded, admin/admin)
  - curator (created by admin, accessLevel=1)
  - user (registered via /api/auth/register, accessLevel=0)

Each user has its own token variable (admin_token, curator_token,
user_token) and ID variable (admin_id, curator_id, user_id).

Sections are organized: Setup → Auth → User CRUD → Person →
Album → Tag → Asset → Stats → Settings → Cleanup.

All endpoints are tested at each appropriate authorization level:
admin (full access), curator (elevated access), user (own data only),
and anonymous (public data only).
This commit is contained in:
2026-07-11 19:02:58 +02:00
parent 8dd5e7158f
commit 851cdfa924
2 changed files with 919 additions and 890 deletions

File diff suppressed because it is too large Load Diff

View File

@@ -1,6 +1,8 @@
{
"dev": {
"rngUser": "preFilledValue",
"rngPassword": "preFilledValue"
"userName": "preFilledValue",
"userPwd": "preFilledValue",
"curatorName": "preFilledValue",
"curatorPwd": "preFilledValue"
}
}