mirror of
https://gitlab.com/fabinfra/fabaccess/bffh.git
synced 2024-11-22 14:57:56 +01:00
fixed docker example config files
This commit is contained in:
parent
6b56a7ad15
commit
e6299e8ce9
@ -1,12 +1,16 @@
|
|||||||
{ actor_connections = [{ _1 = "Testmachine", _2 = "Actor" }]
|
{ actor_connections = [] : List { _1 : Text, _2 : Text }
|
||||||
|
-- { actor_connections = [{ _1 = "Testmachine", _2 = "Actor" }]
|
||||||
, actors =
|
, actors =
|
||||||
{ Actor = { module = "Shelly", params = {=} }
|
{ Actor = { module = "Shelly", params = {=} }
|
||||||
}
|
}
|
||||||
, init_connections = [{ _1 = "Initiator", _2 = "Testmachine" }]
|
, init_connections = [] : List { _1 : Text, _2 : Text }
|
||||||
|
--, init_connections = [{ _1 = "Initiator", _2 = "Testmachine" }]
|
||||||
, initiators =
|
, initiators =
|
||||||
{ Initiator = { module = "Dummy", params = {=} }
|
{ Initiator = { module = "Dummy", params = {=} }
|
||||||
}
|
}
|
||||||
, listens = [{ address = "::", port = Some 59661 }]
|
, listens =
|
||||||
|
[ { address = "::", port = Some 59661 }
|
||||||
|
]
|
||||||
, machines =
|
, machines =
|
||||||
{ Testmachine =
|
{ Testmachine =
|
||||||
{ description = Some "A test machine"
|
{ description = Some "A test machine"
|
||||||
@ -15,6 +19,23 @@
|
|||||||
, name = "Testmachine"
|
, name = "Testmachine"
|
||||||
, read = "lab.test.read"
|
, read = "lab.test.read"
|
||||||
, write = "lab.test.write"
|
, 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 = "tcp://mqtt:1883"
|
, mqtt_url = "tcp://mqtt:1883"
|
||||||
}
|
}
|
||||||
|
@ -1,18 +1,17 @@
|
|||||||
|
[anotherrole]
|
||||||
|
|
||||||
[testrole]
|
[testrole]
|
||||||
name = "Testrole"
|
|
||||||
permissions = [
|
permissions = [
|
||||||
"lab.test.*"
|
"lab.test.*"
|
||||||
]
|
]
|
||||||
|
|
||||||
[somerole]
|
[somerole]
|
||||||
name = "Somerole"
|
parents = ["testparent/lmdb"]
|
||||||
parents = ["testparent%lmdb"]
|
|
||||||
permissions = [
|
permissions = [
|
||||||
"lab.some.admin"
|
"lab.some.admin"
|
||||||
]
|
]
|
||||||
|
|
||||||
[testparent]
|
[testparent]
|
||||||
name = "Testparent"
|
|
||||||
permissions = [
|
permissions = [
|
||||||
"lab.some.write",
|
"lab.some.write",
|
||||||
"lab.some.read",
|
"lab.some.read",
|
||||||
|
Loading…
Reference in New Issue
Block a user