Page MenuHomeSoftware Heritage

services/keycloak: Update keycloak_swh_setup.py script
ClosedPublic

Authored by anlambert on Oct 21 2021, 3:06 PM.

Details

Summary

Fix call to keycloak_admin.assign_realm_roles after upstream fix
(https://github.com/marcospereirampj/python-keycloak/pull/199).

Use constants for swh-web client roles.

Set swh.web.admin.list_deposits swh-web client role to user test.

Diff Detail

Repository
rDENV Development environment
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.