From 6bd8e2219aa5d656ad7d78a2a8a28ed2e30007eb Mon Sep 17 00:00:00 2001 From: Christophe Maudoux Date: Fri, 1 Mar 2019 14:16:09 +0100 Subject: [PATCH] Update default conf. (#1658) --- _example/conf/lmConf-1.json | 4 ++++ e2e-tests/lmConf-1.json | 4 ++++ 2 files changed, 8 insertions(+) diff --git a/_example/conf/lmConf-1.json b/_example/conf/lmConf-1.json index 8f31fd436..f9738e4f7 100644 --- a/_example/conf/lmConf-1.json +++ b/_example/conf/lmConf-1.json @@ -119,6 +119,10 @@ "namespace" : "lemonldap-ng-sessions" }, "locationRules" : { + "auth.__DNSDOMAIN__" : { + "(?#checkUser)/checkuser" : "$uid eq \"dwho\"", + "default" : "deny" + }, "manager.__DNSDOMAIN__" : { "(?#Configuration)^/(manager\\.html|conf/)" : "$uid eq \"dwho\"", "(?#Notifications)/notifications" : "$uid eq \"dwho\" or $uid eq \"rtyler\"", diff --git a/e2e-tests/lmConf-1.json b/e2e-tests/lmConf-1.json index 7042a3f27..54d01e4b9 100644 --- a/e2e-tests/lmConf-1.json +++ b/e2e-tests/lmConf-1.json @@ -141,6 +141,10 @@ "namespace": "lemonldap-ng-sessions" }, "locationRules": { + "auth.example.com" : { + "(?#checkUser)/checkuser" : "$uid eq \"dwho\"", + "default" : "deny" + }, "manager.example.com": { "(?#Configuration)^/(manager\\.html|conf/)": "$uid eq \"dwho\"", "(?#Notifications)^/notifications": "$uid eq \"dwho\" or $uid eq \"rtyler\"",