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).
8 lines
157 B
JSON
8 lines
157 B
JSON
{
|
|
"dev": {
|
|
"userName": "preFilledValue",
|
|
"userPwd": "preFilledValue",
|
|
"curatorName": "preFilledValue",
|
|
"curatorPwd": "preFilledValue"
|
|
}
|
|
} |