You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
For demo purposes, a [demo Keycloak configuration](docker/keycloak/keycloak_compas_realm.json) is created which can be imported when
15
15
running a Keycloak instance.
16
16
17
-
The following Keylcoak attributes have been added:
17
+
The following Keycloak attributes have been added:
18
18
-**CoMPAS Realm**: A separate CoMPAS realm containing all CoMPAS attributes like Groups, Client and Roles.
19
-
-**CoMPAS Demo Role**: A separate CoMPAS role which can be assigned to users.
19
+
-**OpenSCD client**: A client has been made for interacting with OpenSCD.
20
+
-**SCL Data Service client**: A client has been made for interacting with the SCL Data Service.
21
+
-**CRUD roles for the SCL Data Service**: Create, Read, Update and Delete roles have been added to the SCL Data Service client.
22
+
When interacting with the SCL Data Service, a JWT token needs to have certain roles before interaction is possible. These roles are assigned to certain users (see below).
20
23
-**CoMPAS Group**: A CoMPAS demo group has been added.
21
-
-**A Demo User**: A Demo user. Username: 'user', password: 'user'.
24
+
-**A Demo User**: A Demo user without specific roles.
25
+
- Username: 'user'
26
+
- Password: 'user'.
27
+
-**A SCL Data Editor**: A user with the roles 'Create', 'Read', 'Update' and 'Delete'. This way, it has read and write access to the SCL Data Service.
28
+
- Username: scl-data-editor
29
+
- Password: editor
30
+
-**A SCL Data Reader**: A user with the role 'Read'. This way, it only has reading access to the SCL Data Service.
31
+
- Username: scl-data-reader
32
+
- Password: reader
22
33
23
34
## Docker Compose
24
35
There is a pre configured [Docker Compose](docker/docker-compose.yml) file, which starts all the given CoMPAS services.
0 commit comments