Skip to content

Commit

Permalink
Use group1 as the example group for dummy data.
Browse files Browse the repository at this point in the history
  • Loading branch information
sbliven authored and minottic committed Nov 21, 2024
1 parent d7ef654 commit 1fabca3
Show file tree
Hide file tree
Showing 6 changed files with 64 additions and 64 deletions.
2 changes: 1 addition & 1 deletion services/backend/services/keycloak/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ Also a realm called `facility` is created with the following user and group:

| Username | Password | Group |
| --------- | -------- | ----- |
| oidc-user | password | aGroup|
| oidc-user | password | group1|

The users' groups are passed to SciCat backend via the OIDC ID Token, in the claim named `accessGroups` (an array of strings).
The name of the claim can be configured either in [login-callbacks.js](../v3/config/login-callbacks.js) for v3 or with [environment variables](../v4/config/.oidc.env) for v4.
6 changes: 3 additions & 3 deletions services/backend/services/keycloak/config/facility-realm.json
Original file line number Diff line number Diff line change
Expand Up @@ -337,8 +337,8 @@
},
"groups" : [ {
"id" : "397a50f3-8f47-4d05-8bbc-054e8160bb26",
"name" : "aGroup",
"path" : "/aGroup",
"name" : "group1",
"path" : "/group1",
"subGroups" : [ ],
"attributes" : { },
"realmRoles" : [ ],
Expand Down Expand Up @@ -406,7 +406,7 @@
"requiredActions" : [ ],
"realmRoles" : [ "default-roles-facility" ],
"notBefore" : 0,
"groups" : [ "/aGroup" ]
"groups" : [ "/group1" ]
} ],
"scopeMappings" : [ {
"clientScope" : "offline_access",
Expand Down
38 changes: 19 additions & 19 deletions services/mongodb/config/seed/Dataset.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
"license": "",
"version": "3.1.0",
"isPublished": true,
"ownerGroup": "aGroup",
"ownerGroup": "group1",
"accessGroups": [],
"createdBy": "ingestor",
"history": [],
Expand Down Expand Up @@ -86,7 +86,7 @@
"license": "",
"version": "3.1.0",
"isPublished": true,
"ownerGroup": "aGroup",
"ownerGroup": "group1",
"accessGroups": [],
"createdBy": "ingestor",
"history": [],
Expand Down Expand Up @@ -151,7 +151,7 @@
"license": "",
"version": "3.1.0",
"isPublished": true,
"ownerGroup": "aGroup",
"ownerGroup": "group1",
"accessGroups": [],
"createdBy": "ingestor",
"history": [],
Expand Down Expand Up @@ -216,7 +216,7 @@
"license": "",
"version": "3.1.0",
"isPublished": true,
"ownerGroup": "aGroup",
"ownerGroup": "group1",
"accessGroups": [],
"createdBy": "ingestor",
"history": [],
Expand Down Expand Up @@ -274,7 +274,7 @@
"license": "",
"version": "3.1.0",
"isPublished": true,
"ownerGroup": "aGroup",
"ownerGroup": "group1",
"accessGroups": [],
"createdBy": "ingestor",
"history": [],
Expand Down Expand Up @@ -332,7 +332,7 @@
"license": "",
"version": "3.1.0",
"isPublished": true,
"ownerGroup": "aGroup",
"ownerGroup": "group1",
"accessGroups": [],
"createdBy": "ingestor",
"history": [],
Expand Down Expand Up @@ -390,7 +390,7 @@
"license": "",
"version": "3.1.0",
"isPublished": true,
"ownerGroup": "aGroup",
"ownerGroup": "group1",
"accessGroups": [],
"createdBy": "ingestor",
"history": [],
Expand Down Expand Up @@ -448,7 +448,7 @@
"license": "",
"version": "3.1.0",
"isPublished": true,
"ownerGroup": "aGroup",
"ownerGroup": "group1",
"accessGroups": [],
"createdBy": "ingestor",
"history": [],
Expand Down Expand Up @@ -506,7 +506,7 @@
"license": "",
"version": "3.1.0",
"isPublished": true,
"ownerGroup": "aGroup",
"ownerGroup": "group1",
"accessGroups": [],
"createdBy": "ingestor",
"history": [],
Expand Down Expand Up @@ -585,7 +585,7 @@
"license": "",
"version": "3.1.0",
"isPublished": true,
"ownerGroup": "aGroup",
"ownerGroup": "group1",
"accessGroups": [],
"createdBy": "ingestor",
"history": [],
Expand Down Expand Up @@ -664,7 +664,7 @@
"license": "",
"version": "3.1.0",
"isPublished": true,
"ownerGroup": "aGroup",
"ownerGroup": "group1",
"accessGroups": [],
"createdBy": "ingestor",
"history": [],
Expand Down Expand Up @@ -742,7 +742,7 @@
"license": "",
"version": "3.1.0",
"isPublished": true,
"ownerGroup": "aGroup",
"ownerGroup": "group1",
"accessGroups": [],
"createdBy": "ingestor",
"history": [],
Expand Down Expand Up @@ -800,7 +800,7 @@
"license": "",
"version": "3.1.0",
"isPublished": true,
"ownerGroup": "aGroup",
"ownerGroup": "group1",
"accessGroups": [],
"createdBy": "ingestor",
"history": [],
Expand Down Expand Up @@ -855,7 +855,7 @@
"license": "",
"version": "3.1.0",
"isPublished": true,
"ownerGroup": "aGroup",
"ownerGroup": "group1",
"accessGroups": [],
"createdBy": "ingestor",
"history": [],
Expand Down Expand Up @@ -913,7 +913,7 @@
"license": "",
"version": "3.1.0",
"isPublished": true,
"ownerGroup": "aGroup",
"ownerGroup": "group1",
"accessGroups": [],
"createdBy": "ingestor",
"history": [],
Expand Down Expand Up @@ -969,7 +969,7 @@
"license": "",
"version": "3.1.0",
"isPublished": true,
"ownerGroup": "aGroup",
"ownerGroup": "group1",
"accessGroups": [],
"createdBy": "ingestor",
"history": [],
Expand Down Expand Up @@ -1027,7 +1027,7 @@
"license": "",
"version": "3.1.0",
"isPublished": true,
"ownerGroup": "aGroup",
"ownerGroup": "group1",
"accessGroups": [],
"createdBy": "ingestor",
"history": [],
Expand Down Expand Up @@ -1085,7 +1085,7 @@
"license": "",
"version": "3.1.0",
"isPublished": true,
"ownerGroup": "aGroup",
"ownerGroup": "group1",
"accessGroups": [],
"createdBy": "ingestor",
"history": [],
Expand Down Expand Up @@ -1141,7 +1141,7 @@
"license": "",
"version": "3.1.0",
"isPublished": true,
"ownerGroup": "aGroup",
"ownerGroup": "group1",
"accessGroups": [],
"createdBy": "ingestor",
"history": [],
Expand Down
Loading

0 comments on commit 1fabca3

Please sign in to comment.