exchanged user-service call and added some more details for test-envs to readme.md
This commit is contained in:
parent
83cc7888d4
commit
00259ba58d
27
README.md
27
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`
|
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`
|
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`
|
||||||
|
|
||||||
|
|||||||
@ -67,7 +67,7 @@ export class UserService {
|
|||||||
}
|
}
|
||||||
|
|
||||||
async loadAllUsers() {
|
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));
|
this._allUsers = allUsers.users.filter(u => this._hasAnyRedRole(u));
|
||||||
return allUsers;
|
return allUsers;
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user