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