Document new users in readme

pull/439/head
Storm B. Heg 2023-08-10 14:54:34 +02:00 zatwierdzone przez Thibaud Colas
rodzic 06e32a6856
commit 926cff355a
1 zmienionych plików z 52 dodań i 0 usunięć

Wyświetl plik

@ -214,6 +214,58 @@ Bakerydemo is set up in such a way that it can be used to test [Content-Security
By default, `django-csp` is not enabled since Wagtail isn't fully compatible yet. Set the `CSP_DEFAULT_SRC` environment variable in your `.env` file to set the default policy. An example can be found in `.env.example`.
### Users included in demo data
The demo data includes some extra users with different roles and preferences. You can use these users to quickly test the permission system in Wagtail or how localization is handled in the admin interface.
#### Admin
- Username: *admin*
- Password: *changeme*
- Superuser: yes
- Groups: none
#### Editor
- Username: *editor*
- Password: *changeme*
- Superuser: no
- Groups: Editors
#### Moderator
- Username: *moderator*
- Password: *changeme*
- Superuser: no
- Groups: Moderators
#### Inactive
Note: this user is marked as inactive and cannot log in to the admin interface.
- Username: *inactive*
- Password: *changeme*
- Superuser: yes
- Groups: none
#### German
Note: this user has their preferred language set to German and their timezone to Europe/Berlin.
- Username: *german*
- Password: *changeme*
- Superuser: yes
- Groups: none
#### Arabic
Note: this user has their preferred language set to Arabic and their timezone to Asia/Beirut.
- Username: *arabic*
- Password: *changeme*
- Superuser: yes
- Groups: none
### Ownership of demo content