Skip to content

Commit

Permalink
chore: adjust upgrade script (#37)
Browse files Browse the repository at this point in the history
  • Loading branch information
Phil91 authored Dec 4, 2023
1 parent 826609d commit 554da11
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Binary file modified docs/static/technical-user-accounts-overview.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 2 additions & 2 deletions docs/technical documentation/12. Upgrade Details.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ new_connector_roles_to_insert AS (
CROSS JOIN (
SELECT id
FROM public.keycloak_role
WHERE name IN ('Semantic Model Management', 'Dataspace Discovery')
WHERE name IN ('Semantic Model Management', 'Identity Wallet Management', 'Dataspace Discovery')
) kr
)
INSERT INTO public.user_role_mapping (user_id, role_id)
Expand Down Expand Up @@ -97,7 +97,7 @@ AND u.user_id NOT IN (
SELECT user_id
FROM public.user_role_mapping
JOIN public.keycloak_role ON user_role_mapping.role_id = keycloak_role.id
WHERE keycloak_role.name IN ('Semantic Model Management', 'Dataspace Discovery')
WHERE keycloak_role.name IN ('Semantic Model Management' 'Identity Wallet Management', 'Dataspace Discovery')
);

SELECT DISTINCT u.user_id
Expand Down

0 comments on commit 554da11

Please sign in to comment.