# Test-Benutzer

Alle Test-User sind in der Firma **VSB Magdeburg** angelegt.
Passwort für alle: `Test1234!`

| E-Mail                    | Rolle          | Name          |
|---------------------------|----------------|---------------|
| super.admin@tm-test.de    | SUPER_ADMIN    | Super Admin   |
| firma.admin@tm-test.de    | COMPANY_ADMIN  | Firma Admin   |
| hannah.hr@tm-test.de      | HR             | Hannah HR     |
| max.manager@tm-test.de    | MANAGER        | Max Manager   |
| emil.employee@tm-test.de  | EMPLOYEE       | Emil Employee |

## Produktiv-User

| E-Mail                | Rolle          | Name             |
|-----------------------|----------------|------------------|
| patrick@perlbach24.de | COMPANY_ADMIN  | Patrick Perlbach |
| bundyxl@gmx.de        | EMPLOYEE       | Patrick Test     |

## Neu anlegen (SQL)

```sql
-- Passwort-Hash für 'Test1234!' erzeugen:
-- /opt/timemaster/backend/venv/bin/python3 -c "import bcrypt; print(bcrypt.hashpw(b'Test1234!', bcrypt.gensalt(rounds=12)).decode())"

INSERT INTO users (id, company_id, email, first_name, last_name, role, password_hash, is_active, auth_provider)
VALUES (gen_random_uuid(), '<company_id>', '<email>', '<first>', '<last>', '<role>', '<hash>', true, 'local');
```
