فهرست منبع

Document new users in readme

Storm B. Heg 1 سال پیش
والد
کامیت
926cff355a
1فایلهای تغییر یافته به همراه52 افزوده شده و 0 حذف شده
  1. 52 0
      readme.md

+ 52 - 0
readme.md

@@ -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