Files
marechai/Marechai.Server/appsettings.json
2025-11-15 14:11:48 +00:00

69 lines
2.0 KiB
JSON

{
"ConnectionStrings": {
"DefaultConnection": "server=mariadb-dev.claunia.com;port=3306;user=marechai;password=marechaipass;database=marechai;TreatTinyAsBoolean=false"
},
"Logging": {
"LogLevel": {
"Default": "Information",
"Microsoft": "Warning",
"Microsoft.Hosting.Lifetime": "Information"
}
},
"AllowedHosts": "*",
"CORS": {
"AllowedOrigins": [
"*"
]
},
"MarechaiRoles": [
{
"Name": "UberAdmin",
"Description": "Can administer everything, cannot be deleted, only one must exist."
},
{
"Name": "Writer",
"Description": "Can write new textual data about an artifact."
},
{
"Name": "Proofreader",
"Description": "Can correct textual data."
},
{
"Name": "Translator",
"Description": "Can translate textual data."
},
{
"Name": "SuperTranslator",
"Description": "Can translate textual data and proofread translations."
},
{
"Name": "Collaborator",
"Description": "Can propose changes or additions to artifacts."
},
{
"Name": "Curator",
"Description": "Can make changes or additions to artifacts and curate the ones done by a collaborator."
},
{
"Name": "PhysicalCurator",
"Description": "Same as curator but in addition can control a physical inventory."
},
{
"Name": "Technician",
"Description": "Can modify repairs of artifacts in the inventory."
},
{
"Name": "SuperTechnician",
"Description": "Can add, modify and close repairs and approve changes made by a technician of artifacts in the inventory."
},
{
"Name": "Admin",
"Description": "Can administer certain parts of the website."
},
{
"Name": "NormalUser",
"Description": "A normal user role."
}
],
"AssetRootPath": "/var/marechai/assets"
}