Document skip step for demo users/groups and fix changelog

This commit is contained in:
pwengerter
2021-09-17 13:26:43 +02:00
parent d866e9cf0b
commit e437ce26b2
5 changed files with 17 additions and 7 deletions

View File

@@ -0,0 +1,8 @@
Enhancement: Add option to skip generation of demo users and groups
We've added a new environment variable to decide whether we should generate the demo users and groups or not.
This environment variable is set to `true` by default, so the demo users and groups will get generated by default as long as oCIS is in its "technical preview" stage.
In any case, there are still some users and groups automatically generated: for users: Reva IOP, Kopano IDP, admin; for groups: sysusers and users.
https://github.com/owncloud/ocis/pull/2495

View File

@@ -1,6 +1,6 @@
Bugfix: Remove notifications placeholder
Since Reva was communicating its notification capabilities incorrectly, oCIS relied on a hardcoding string to overwrite them.
Since Reva was communicating its notification capabilities incorrectly, oCIS relied on a hardcoded string to overwrite them.
This has been fixed in [reva#1819](https://github.com/cs3org/reva/pull/1819) so we now removed the hardcoded string
and don't modify Reva's notification capabilities anymore in order to fix clients having to poll a (non-existent) notifications endpoint.

View File

@@ -1,6 +0,0 @@
Enhancement: Demo users and groups won't be generated unless requested
We've added a new environment variable to decide whether we should generate the demo users and groups or not. This environment variable is false by default, so the demo users and groups won't be generated by default.
There are still some users and groups automatically generated: for users: Reva IOP, Kopano IDP, admin; for groups: sysusers and users.
https://github.com/owncloud/ocis/pull/2495

View File

@@ -45,6 +45,9 @@ You can change it by setting the `STORAGE_TRANSFER_SECRET` environment variable
{{< hint info >}}
Before deleting the demo users mentioned below, you must create a new account for yourself and assign it to the administrator role.
To skip the generation of demo users in the first place, run the inital setup step with an additional environment variable.
`ACCOUNTS_DEMO_USERS_AND_GROUPS=false ./bin/ocis server` generates only the admin, and one user for IDP and Reva respectively.
{{< /hint >}}
oCIS ships with a few demo users besides the system users:

View File

@@ -9,6 +9,11 @@ geekdocFilePath: demo-users.md
As long as oCIS is released as [technology preview]({{< ref "../release_roadmap#release_roadmap" >}}) it will come with default demo users. These enable you to do quick testing and developing.
{{< hint info >}}
To skip the generation of demo users, run the inital setup step with an additional environment variable.
`ACCOUNTS_DEMO_USERS_AND_GROUPS=false ./bin/ocis server` generates only the admin, and one user for IDP and Reva respectively.
{{< /hint >}}
Following users are available in the demo set:
| username | password | email | role | groups |