diff --git a/Marechai.Server/appsettings.json b/Marechai.Server/appsettings.json index 10f68b8c..86477472 100644 --- a/Marechai.Server/appsettings.json +++ b/Marechai.Server/appsettings.json @@ -1,9 +1,63 @@ { - "Logging": { + "ConnectionStrings": { + "DefaultConnection": "server=mariadb-dev.claunia.com;port=3306;user=marechai;password=marechaipass;database=marechai;TreatTinyAsBoolean=false" + }, + "Logging": { "LogLevel": { - "Default": "Information", - "Microsoft.AspNetCore": "Warning" + "Default": "Information", + "Microsoft": "Warning", + "Microsoft.Hosting.Lifetime": "Information" } }, - "AllowedHosts": "*" -} + "AllowedHosts": "*", + "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." + } + ] +} \ No newline at end of file