From 45c41313eeb03cc16f07459144dd906a684554fb Mon Sep 17 00:00:00 2001 From: Falko Richter Date: Sun, 28 Jul 2024 15:31:37 +0200 Subject: [PATCH] real admin --- config/bffh/bffh.dhall | 13 ++++++++++--- config/bffh/users.toml | 4 ++-- 2 files changed, 12 insertions(+), 5 deletions(-) diff --git a/config/bffh/bffh.dhall b/config/bffh/bffh.dhall index 47c151d..ada2f59 100644 --- a/config/bffh/bffh.dhall +++ b/config/bffh/bffh.dhall @@ -51,8 +51,6 @@ -- URL of BFFH Instance instanceurl = "localtest.fab-access.org", - - roles = { Admin = { permissions = [ @@ -68,7 +66,10 @@ "TestEnv.Read.C", "TestEnv.Disclose.A", "TestEnv.Disclose.B", - "TestEnv.Disclose.C" + "TestEnv.Disclose.C", + "bffh.users.manage", + "bffh.users.info", + "bffh.users.admin", ] }, @@ -402,6 +403,12 @@ actor_connections = [ { machine = "tasmota_8365AF", actor = "tasmota_8365AF" }, { machine = "tasmota_8352F4", actor = "tasmota_8352F4" }, + + { machine = "tasmota_8365AF", actor = "tasmota_8365AF" }, + { machine = "tasmota_8352F4", actor = "tasmota_8352F4" }, + { machine = "tasmota_8365AF", actor = "tasmota_8365AF" }, + { machine = "tasmota_8365AF", actor = "tasmota_8365AF" }, + { machine = "tasmota_8352F4", actor = "tasmota_8352F4" }, ] : List { machine : Text, actor : Text }, initiators = {=}, diff --git a/config/bffh/users.toml b/config/bffh/users.toml index a932fe8..4c4e83d 100644 --- a/config/bffh/users.toml +++ b/config/bffh/users.toml @@ -1,11 +1,11 @@ [Admin1] -roles = ["Admin", "usermanagement"] +roles = ["Admin"] passwd = "secret" noot = "noot!" cardkey = "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa" [Admin2] -roles = ["Admin", "usermanagement"] +roles = ["Admin"] passwd = "secret" noot = "noot!" cardkey = "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"