mirror of
https://gitlab.com/fabinfra/fabaccess/bffh.git
synced 2024-11-10 17:43:23 +01:00
66 lines
1.7 KiB
Plaintext
66 lines
1.7 KiB
Plaintext
-- { actor_connections = [] : List { _1 : Text, _2 : Text }
|
|
{ actor_connections =
|
|
[ { _1 = "Testmachine", _2 = "Actor" }
|
|
, { _1 = "Another", _2 = "Actor2" }
|
|
, { _1 = "Yetmore", _2 = "Actor3" }
|
|
]
|
|
, actors =
|
|
{ Actor = { module = "Dummy", params = {=} }
|
|
, Actor2 = { module = "Dummy", params = {=} }
|
|
, Actor3 = { module = "Dummy", params = {=} }
|
|
}
|
|
, init_connections = [] : List { _1 : Text, _2 : Text }
|
|
--, init_connections = [{ _1 = "Initiator", _2 = "Testmachine" }]
|
|
, initiators =
|
|
{ Initiator = { module = "Dummy", params = {=} }
|
|
}
|
|
, listens =
|
|
[ { address = "127.0.0.1", port = Some 59661 }
|
|
, { address = "::1", port = Some 59661 }
|
|
, { address = "192.168.0.114", port = Some 59661 }
|
|
]
|
|
, machines =
|
|
{ Testmachine =
|
|
{ description = Some "A test machine"
|
|
, disclose = "lab.test.read"
|
|
, manage = "lab.test.admin"
|
|
, name = "Testmachine"
|
|
, read = "lab.test.read"
|
|
, write = "lab.test.write"
|
|
},
|
|
Another =
|
|
{ description = Some "Another test machine"
|
|
, disclose = "lab.test.read"
|
|
, manage = "lab.test.admin"
|
|
, name = "Another"
|
|
, read = "lab.test.read"
|
|
, write = "lab.test.write"
|
|
},
|
|
Yetmore =
|
|
{ description = Some "Yet more test machines"
|
|
, disclose = "lab.test.read"
|
|
, manage = "lab.test.admin"
|
|
, name = "Yetmore"
|
|
, read = "lab.test.read"
|
|
, write = "lab.test.write"
|
|
}
|
|
}
|
|
, mqtt_url = ""
|
|
, db_path = "/tmp/bffh"
|
|
, roles =
|
|
{ testrole =
|
|
{ permissions = [ "lab.test.*" ] }
|
|
, somerole =
|
|
{ parents = ["testparent"]
|
|
, permissions = [ "lab.some.admin" ]
|
|
}
|
|
, testparent =
|
|
{ permissions =
|
|
[ "lab.some.write"
|
|
, "lab.some.read"
|
|
, "lab.some.disclose"
|
|
]
|
|
}
|
|
}
|
|
}
|