Generic format for setting attributes
We need some format that allows setting random attributes for users and groups. There are multiple ways to handle this, and I'm not sure which is the best. One thing to use for guidance is Keycloak, since we can assume integrators have a rough understanding of Keycloak features and vocabulary.
groups:
GREENLIGHT_TEST_USERS:
- jfink
- pbeke
attributes:
roles:
type: list
is_admin:
default: false
is_christoph:
default: false
attribute_mapping:
- attribute: roles
groups:
- GREENLIGHT_TEST_USERS
users: ~
values:
- ROLE_SCOPE_GREENLIGHT
- ROLE_SCOPE_GREENLIGHT_TEST
value: ~
- attribute: is_admin
groups:
- ADMINS
value: true
- attribute: is_christoph
users:
- christoph_reiter
value: true