diff --git a/README.md b/README.md index c1b86013a..5377daedc 100644 --- a/README.md +++ b/README.md @@ -18,3 +18,30 @@ Select `answers-development.yaml` and add it to answers `Edit as yaml`. For HTTPS / Cloudflare domain go to `workloads` -> `Loadbalancing` -> `select your stack` Add cloudflare certificate and specify a hostname to use `timo-redaction-dev.iqser.cloud` + +## Keycloak Staging Config + + keycloak: + authServerUrl: 'https://redkc-staging.iqser.cloud/auth' + client: + secret: 'a4e8aa56-03b0-4e6b-b822-8ac1f41280c4' + +## Default Testing URL + +`https://timo-redaction-dev.iqser.cloud/` +Hostname: + +timo-redaction-dev.iqser.cloud + +## Test Users + +| username | role | comment | +| --- | --- | --- | +| guest | | cannot use the application | +| user | RED_USER | | +| red_manager | RED_MANAGER | | +| useradmin | RED_ADMIN, RED_USER | has super power ! | +| manageradmin | RED_ADMIN RED_MANAGER RED_USER | has super super power ! | + +Password for all users is `OsloImWinter` + diff --git a/apps/red-ui/src/app/user/user.service.ts b/apps/red-ui/src/app/user/user.service.ts index 9cc8f1fb7..ef6340385 100644 --- a/apps/red-ui/src/app/user/user.service.ts +++ b/apps/red-ui/src/app/user/user.service.ts @@ -67,7 +67,7 @@ export class UserService { } async loadAllUsers() { - const allUsers = await this._userControllerService.getAllUsers({}, 0, 100).toPromise(); + const allUsers = await this._userControllerService.getUsers({}, 0, 100).toPromise(); this._allUsers = allUsers.users.filter(u => this._hasAnyRedRole(u)); return allUsers; }