Add support for "user settings" (#201)

The `user settings` path contains settings related to passwords.

Signed-off-by: Michael Hanselmann <public@hansmi.ch>
This commit is contained in:
hansmi 2023-08-20 14:20:16 +02:00 committed by GitHub
parent 343c4883c0
commit b0a4743de8
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 12 additions and 0 deletions

View file

@ -2749,6 +2749,14 @@ PATHS = {
'use-radius': KeyInfo(default=False),
},
),
('user', 'settings'): APIData(
single_value=True,
fully_understood=True,
fields={
'minimum-categories': KeyInfo(),
'minimum-password-length': KeyInfo(),
},
),
('queue', 'interface'): APIData(
primary_keys=('interface', ),
fully_understood=True,