1
1
Fork 0
mirror of https://gitlab.archlinux.org/archlinux/infrastructure.git synced 2024-05-19 10:46:04 +02:00

tf-stage2: Make specifying a last name optional

We have a few staff and users who prefer using a alias/mononym, so let's
make it optional.

Since our custom Keycloak theme does not use v3[1][2] of the account
console yet, it is not aware that the last name is optional, so
unfortunately the user cannot change "personal info" in the account
console without also specifying the last name. This only affects the
account console, the initial user configuration can be done without
specifying a last name.

[1] 238889fb36/lib/src/main/resources/theme/archlinux/account/theme.properties (L1)
[2] https://www.keycloak.org/2023/04/keycloak-2110-released#_experimental_account_console_version_3
This commit is contained in:
Kristian Klausen 2023-06-17 19:27:10 +02:00
parent c673b22aa9
commit 2885730582
No known key found for this signature in database
GPG Key ID: E2BE346E410366C3

View File

@ -213,8 +213,6 @@ resource "keycloak_realm_user_profile" "archlinux" {
name = "lastName"
display_name = "$${lastName}"
required_for_roles = ["user"]
permissions {
view = ["admin", "user"]
edit = ["admin", "user"]