Fixed Config

This commit is contained in:
TheJoKlLa 2023-02-22 20:06:53 +01:00
parent 9e85ad8c73
commit c14340f611

View File

@ -43,8 +43,8 @@
-- set logging to verbose
verbosity = 3,
spacename = "FabCity-Demo",
instanceurl = "fabcity_demo.fab-access.org",
spacename = "TFOM23-Demo",
instanceurl = "tfom23_demo.fab-access.org",
-- In dhall you can also easily import definitions from other files, e.g. you could write
-- roles = ./roles.dhall
@ -64,8 +64,8 @@
Default = {
permissions =
[
"fabcity.disclose",
"fabcity.read",
"tfom23.disclose",
"tfom23.read",
]
@ -74,7 +74,7 @@
{
permissions =
[
"fabcity.*",
"tfom23.*",
"bffh.users.info",
"bffh.users.manage",
"bffh.users.admin",
@ -84,7 +84,7 @@
{
permissions =
[
"fabcity.manage",
"tfom23.manage",
]
},
@ -92,7 +92,7 @@
{
permissions =
[
"fabcity.eurobox.write",
"tfom23.eurobox.write",
]
},
@ -100,35 +100,35 @@
{
permissions =
[
"fabcity.lboxx.write",
"tfom23.lboxx.write",
]
},
Locker =
{
permissions =
[
"fabcity.locker.write",
"tfom23.locker.write",
]
},
Lasercutter =
{
permissions =
[
"fabcity.lasercutter.write",
"tfom23.lasercutter.write",
]
},
Printer =
{
permissions =
[
"fabcity.printer.write",
"tfom23.printer.write",
]
},
CNC =
{
permissions =
[
"fabcity.cnc.write",
"tfom23.cnc.write",
]
},
},
@ -144,50 +144,50 @@
{
name = "Filament",
description = Some "LBoxx with 1,75mm PLA",
disclose = "fabcity.disclose",
read = "fabcity.read",
write = "fabcity.lboxx.use",
manage = "fabcity.manage",
disclose = "tfom23.disclose",
read = "tfom23.read",
write = "tfom23.lboxx.use",
manage = "tfom23.manage",
category = "LBoxx"
},
LBoxx_1 =
{
name = "FabLock Tools",
description = Some "LBoxx with Tools of the FabLock Project",
disclose = "fabcity.disclose",
read = "fabcity.read",
write = "fabcity.lboxx.use",
manage = "fabcity.manage",
disclose = "tfom23.disclose",
read = "tfom23.read",
write = "tfom23.lboxx.use",
manage = "tfom23.manage",
category = "LBoxx"
},
LBoxx_2 =
{
name = "FabReader Tools",
description = Some "LBoxx with Tools of the FabReader Project",
disclose = "fabcity.disclose",
read = "fabcity.read",
write = "fabcity.lboxx.use",
manage = "fabcity.manage",
disclose = "tfom23.disclose",
read = "tfom23.read",
write = "tfom23.lboxx.use",
manage = "tfom23.manage",
category = "LBoxx"
},
LBoxx_3 =
{
name = "Sticker",
description = Some "LBoxx with FabAccess Sticker and NTAGs",
disclose = "fabcity.disclose",
read = "fabcity.read",
write = "fabcity.lboxx.use",
manage = "fabcity.manage",
disclose = "tfom23.disclose",
read = "tfom23.read",
write = "tfom23.lboxx.use",
manage = "tfom23.manage",
category = "LBoxx"
},
LBoxx_4 =
{
name = "Demo Parts",
description = Some "LBoxx with Parts for the FabCity Demo",
disclose = "fabcity.disclose",
read = "fabcity.read",
write = "fabcity.lboxx.use",
manage = "fabcity.manage",
description = Some "LBoxx with Parts for the TFOM23 Demo",
disclose = "tfom23.disclose",
read = "tfom23.read",
write = "tfom23.lboxx.use",
manage = "tfom23.manage",
category = "LBoxx"
},
@ -196,20 +196,20 @@
{
name = "Haribo",
description = Some "EuroBox with Haribo",
disclose = "fabcity.disclose",
read = "fabcity.read",
write = "fabcity.eurobox.use",
manage = "fabcity.manage",
disclose = "tfom23.disclose",
read = "tfom23.read",
write = "tfom23.eurobox.use",
manage = "tfom23.manage",
category = "EuroBox"
},
EuroBox_1 =
{
name = "Goldschatz",
description = Some "EuroBox with Rittersport Goldschatz",
disclose = "fabcity.disclose",
read = "fabcity.read",
write = "fabcity.eurobox.use",
manage = "fabcity.manage",
disclose = "tfom23.disclose",
read = "tfom23.read",
write = "tfom23.eurobox.use",
manage = "tfom23.manage",
category = "EuroBox"
},
@ -218,50 +218,50 @@
{
name = "Drawer 0 ???",
description = Some "Kallax Drawer",
disclose = "fabcity.disclose",
read = "fabcity.read",
write = "fabcity.locker.use",
manage = "fabcity.manage",
disclose = "tfom23.disclose",
read = "tfom23.read",
write = "tfom23.locker.use",
manage = "tfom23.manage",
category = "Locker"
},
Drawer_1 =
{
name = "Drawer 1 ???",
description = Some "Kallax Drawer",
disclose = "fabcity.disclose",
read = "fabcity.read",
write = "fabcity.locker.use",
manage = "fabcity.manage",
disclose = "tfom23.disclose",
read = "tfom23.read",
write = "tfom23.locker.use",
manage = "tfom23.manage",
category = "Locker"
},
Drawer_2 =
{
name = "Drawer 2 ???",
description = Some "Kallax Drawer",
disclose = "fabcity.disclose",
read = "fabcity.read",
write = "fabcity.locker.use",
manage = "fabcity.manage",
disclose = "tfom23.disclose",
read = "tfom23.read",
write = "tfom23.locker.use",
manage = "tfom23.manage",
category = "Locker"
},
Drawer_3 =
{
name = "Drawer 3 ???",
description = Some "Kallax Drawer",
disclose = "fabcity.disclose",
read = "fabcity.read",
write = "fabcity.locker.use",
manage = "fabcity.manage",
disclose = "tfom23.disclose",
read = "tfom23.read",
write = "tfom23.locker.use",
manage = "tfom23.manage",
category = "Locker"
},
Door_0 =
{
name = "Door ???",
description = Some "Kallax Door",
disclose = "fabcity.disclose",
read = "fabcity.read",
write = "fabcity.locker.use",
manage = "fabcity.manage",
disclose = "tfom23.disclose",
read = "tfom23.read",
write = "tfom23.locker.use",
manage = "tfom23.manage",
category = "Locker"
},
@ -270,40 +270,40 @@
{
name = "Prusa MK3",
description = Some "FabAccess Prusa MK3",
disclose = "fabcity.disclose",
read = "fabcity.read",
write = "fabcity.printer.use",
manage = "fabcity.manage",
disclose = "tfom23.disclose",
read = "tfom23.read",
write = "tfom23.printer.use",
manage = "tfom23.manage",
category = "Printers"
},
Printer_1 =
{
name = "Other Printer ???",
description = Some "FabCity Printer",
disclose = "fabcity.disclose",
read = "fabcity.read",
write = "fabcity.printer.use",
manage = "fabcity.manage",
description = Some "TFOM23 Printer",
disclose = "tfom23.disclose",
read = "tfom23.read",
write = "tfom23.printer.use",
manage = "tfom23.manage",
category = "Printers"
},
Lasercutter_0 =
{
name = "Other Lasercutter ???",
description = Some "FabCity Lasercutter",
disclose = "fabcity.disclose",
read = "fabcity.read",
write = "fabcity.printer.use",
manage = "fabcity.manage",
description = Some "TFOM23 Lasercutter",
disclose = "tfom23.disclose",
read = "tfom23.read",
write = "tfom23.printer.use",
manage = "tfom23.manage",
category = "Lasercutter"
},
CNC_0 =
{
name = "Other Printer ???",
description = Some "FabCity CNC",
disclose = "fabcity.disclose",
read = "fabcity.read",
write = "fabcity.printer.use",
manage = "fabcity.manage",
description = Some "TFOM23 CNC",
disclose = "tfom23.disclose",
read = "tfom23.read",
write = "tfom23.printer.use",
manage = "tfom23.manage",
category = "CNC"
},
},
@ -443,7 +443,7 @@
-- to let people use machines.
initiators =
{
=
},
-- The "Dummy" initiator will try to use and return a machine as the given user every few seconds. It's good to
-- test your system but will spam your log so is disabled by default.