Add some read-only values to the user path. (#228)

This commit is contained in:
Felix Fontein 2023-10-07 14:38:54 +02:00 committed by GitHub
parent a6979c7f3d
commit 6a68469209
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -3380,7 +3380,9 @@ PATHS = {
'address': KeyInfo(),
'comment': KeyInfo(can_disable=True, remove_value=''),
'disabled': KeyInfo(default=False),
'expired': KeyInfo(read_only=True),
'group': KeyInfo(),
'last-logged-in': KeyInfo(read_only=True),
'name': KeyInfo(),
'password': KeyInfo(write_only=True),
},