real admin

This commit is contained in:
Falko Richter 2024-07-28 15:31:37 +02:00
parent 43fca5cd9d
commit 45c41313ee
2 changed files with 12 additions and 5 deletions

View File

@ -51,8 +51,6 @@
-- URL of BFFH Instance -- URL of BFFH Instance
instanceurl = "localtest.fab-access.org", instanceurl = "localtest.fab-access.org",
roles = { roles = {
Admin = { Admin = {
permissions = [ permissions = [
@ -68,7 +66,10 @@
"TestEnv.Read.C", "TestEnv.Read.C",
"TestEnv.Disclose.A", "TestEnv.Disclose.A",
"TestEnv.Disclose.B", "TestEnv.Disclose.B",
"TestEnv.Disclose.C" "TestEnv.Disclose.C",
"bffh.users.manage",
"bffh.users.info",
"bffh.users.admin",
] ]
}, },
@ -402,6 +403,12 @@
actor_connections = [ actor_connections = [
{ machine = "tasmota_8365AF", actor = "tasmota_8365AF" }, { machine = "tasmota_8365AF", actor = "tasmota_8365AF" },
{ machine = "tasmota_8352F4", actor = "tasmota_8352F4" }, { 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 }, ] : List { machine : Text, actor : Text },
initiators = {=}, initiators = {=},

View File

@ -1,11 +1,11 @@
[Admin1] [Admin1]
roles = ["Admin", "usermanagement"] roles = ["Admin"]
passwd = "secret" passwd = "secret"
noot = "noot!" noot = "noot!"
cardkey = "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa" cardkey = "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"
[Admin2] [Admin2]
roles = ["Admin", "usermanagement"] roles = ["Admin"]
passwd = "secret" passwd = "secret"
noot = "noot!" noot = "noot!"
cardkey = "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa" cardkey = "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"