1
Fork 0
mirror of https://github.com/jech/galene.git synced 2024-12-27 01:35:48 +01:00

Fix description of wildcard-user in README.

Thanks to J.-J. Sarton.
This commit is contained in:
Juliusz Chroboczek 2024-12-24 00:58:30 +01:00
parent 21e63dcc97
commit 2c56143ba0

11
README
View file

@ -286,9 +286,9 @@ even Unix passwords).
When password authorisation is used, authorised usernames and password are When password authorisation is used, authorised usernames and password are
defined directly in the group configuration file, in the `users` and defined directly in the group configuration file, in the `users` and
`fallback-users` entries. The `users` entry is a dictionary that maps `wildcard-user` entries. The `users` entry is a dictionary that maps user
user names to user descriptions; the `fallback-users` is a list of user names to user descriptions; the `wildcard-user` is a user description
descriptions that are used with usernames that don't appear in `users`. that is used with usernames that don't appear in `users`.
Every user description is a dictionary with fields `password` and Every user description is a dictionary with fields `password` and
`permissions`. The `password` field may be a literal password string, or `permissions`. The `password` field may be a literal password string, or
@ -304,13 +304,12 @@ For example, the entry
specifies that user "jch" may login as operator with password "1234", while specifies that user "jch" may login as operator with password "1234", while
"fallback-users": [{"password": "1234", "permissions": "present"}] "wildcard-user": {"password": "1234", "permissions": "present"}
allows any username with password *1234*. Finally, allows any username with password *1234*. Finally,
"fallback-users": [ "wallback-user":
{"password": {"type": "wildcard"}, "permissions": "present"} {"password": {"type": "wildcard"}, "permissions": "present"}
]
allows any username with any password. allows any username with any password.