mirror of
https://github.com/SamyRai/turash.git
synced 2025-12-26 23:01:33 +00:00
1.0 KiB
1.0 KiB
User Credentials
This document contains the login credentials for test users with different roles.
Admin User
- Email:
admin@tuganyak.dev - Password:
admin123 - Role:
admin - Access: Full admin panel access
Regular User
- Email:
user@tuganyak.dev - Password:
user12345 - Role:
user - Access: Regular user dashboard
Content Manager
- Email:
content@tuganyak.dev - Password:
content123 - Role:
content_manager - Access: Content and localization management
Viewer
- Email:
viewer@tuganyak.dev - Password:
viewer123 - Role:
viewer - Access: Read-only access
Notes
- All passwords must be at least 8 characters long
- To update a user's role, use the admin API endpoint:
PATCH /api/v1/admin/users/:id/role - Or update directly in the database:
UPDATE users SET role = 'admin' WHERE email = 'user@example.com'; - After updating a role in the database, the user needs to log out and log back in to refresh their JWT token