Limit app password permissions by default. Add new app_sudo mode for users to remove this new limitation if they really need to

Signed-off-by: DL6ER <dl6er@dl6er.de>
This commit is contained in:
DL6ER
2024-06-14 19:10:58 +02:00
parent 7adda9ad3c
commit 950fc60ed3
8 changed files with 35 additions and 1 deletions
+3
View File
@@ -413,6 +413,8 @@ components:
type: string
app_pwhash:
type: string
app_sudo:
type: boolean
excludeClients:
type: array
items:
@@ -697,6 +699,7 @@ components:
pwhash: ''
totp_secret: ''
app_pwhash: ''
app_sudo: false
excludeClients: [ '1\.2\.3\.4', 'localhost', 'fe80::345' ]
excludeDomains: [ 'google\\.de', 'pi-hole\.net' ]
maxHistory: 86400