Add a deny option for the proxy default role (#24145)

* backend

* frontend

* docs

* fix none default role casing and name reserved roles in the error

* reserve every casing of none as a role name
This commit is contained in:
Josh Hawkins
2026-09-12 07:30:04 -06:00
committed by Nicolas Mowen
parent 41bc1a5844
commit e2da7aae99
9 changed files with 194 additions and 18 deletions
+1 -1
View File
@@ -212,7 +212,7 @@
},
"default_role": {
"label": "Default role",
"description": "Default role assigned to proxy-authenticated users when no role mapping applies."
"description": "Default role assigned to proxy-authenticated users when no role mapping applies. Set to 'none' to deny access to unmapped users."
},
"separator": {
"label": "Separator character",
+2 -1
View File
@@ -1738,7 +1738,8 @@
},
"defaultRole": {
"admin": "Admin",
"viewer": "Viewer"
"viewer": "Viewer",
"none": "None (deny access)"
}
},
"globalConfig": {