diff options
author | Adrian Vovk <adrianvovk@gmail.com> | 2024-04-25 00:12:54 +0200 |
---|---|---|
committer | Luca Boccassi <luca.boccassi@gmail.com> | 2024-11-01 11:41:46 +0100 |
commit | ad03f2d5f0d7f87b775357e5a2727dbcbc973fce (patch) | |
tree | 4932e43623cdf6898fda472528a30df9f7c84a56 /docs/USER_RECORD.md | |
parent | NEWS: fix typo (diff) | |
download | systemd-ad03f2d5f0d7f87b775357e5a2727dbcbc973fce.tar.xz systemd-ad03f2d5f0d7f87b775357e5a2727dbcbc973fce.zip |
user-record: Introduce selfModifiable fields
Allows the system administrator to configure what fields the user is
allowed to edit about themself, along with hard-coded defaults.
Diffstat (limited to 'docs/USER_RECORD.md')
-rw-r--r-- | docs/USER_RECORD.md | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/docs/USER_RECORD.md b/docs/USER_RECORD.md index 0268cc1230..911fceb03f 100644 --- a/docs/USER_RECORD.md +++ b/docs/USER_RECORD.md @@ -597,6 +597,17 @@ The salt to pass to the FIDO2 device is found in `fido2HmacSalt`. The only supported recovery key type at the moment is `modhex64`, for details see the description of `recoveryKey` below. An account may have any number of recovery keys defined, and the array should have one entry for each. +`selfModifiableFields` → An array of strings, each corresponding to a field name that can appear +in the `regular` or `perMachine` sections. The user may be allowed to edit any field in this list +without authenticating as an administrator. Note that the user will only be allowed to edit fields +in `perMachine` sections that match the machine the user is performing the edit from. + +`selfModifiableBlobs` → Similar to `selfModifiableFields`, but it lists blobs that the user +is allowed to edit. + +`selfModifiablePrivileged` → Similar to `selfModifiableFields`, but it lists fields in +the `privileged` section that the user is allowed to edit. + `privileged` → An object, which contains the fields of the `privileged` section of the user record, see below. @@ -754,7 +765,7 @@ All other fields that may be used in this section are identical to the equally n `autoLogin`, `preferredSessionType`, `preferredSessionLauncher`, `stopDelayUSec`, `killProcesses`, `passwordChangeMinUSec`, `passwordChangeMaxUSec`, `passwordChangeWarnUSec`, `passwordChangeInactiveUSec`, `passwordChangeNow`, `pkcs11TokenUri`, -`fido2HmacCredential`. +`fido2HmacCredential`, `selfModifiableFields`, `selfModifiableBlobs`, `selfModifiablePrivileged`. ## Fields in the `binding` section |