Authorize admin by username jmartin only
Drop group membership checks; trust Authelia Remote-User when it equals the configured ADMIN_USERS list (default: jmartin).
This commit is contained in:
1 parent
6340dc5df9
commit
f03d448303
3 files changed
+13
-8
No files matched your search
+2
-2
@@ -25,8 +25,8 @@ IMGPROXY_KEY=
|
||||
IMGPROXY_SALT=
|
||||
|
||||
# Auth — Authelia Remote-User trust
|
||||
# Comma-separated groups allowed to access admin (empty = any authenticated user)
|
||||
ADMIN_GROUPS=lldap_admin,admin,portfolio_admin
|
||||
# Comma-separated usernames allowed for admin (groups ignored)
|
||||
ADMIN_USERS=jmartin
|
||||
# When true, require Remote-User header for /api/v1/admin/* (disable only for local dev)
|
||||
REQUIRE_REMOTE_USER=true
|
||||
|
||||
|
||||
Reference in new issue
Block a user