From 6c6ef2a8e99b9365d99465df371279182f3696e4 Mon Sep 17 00:00:00 2001 From: Sven Heidemann Date: Mon, 21 Feb 2022 17:12:57 +0100 Subject: [PATCH] Improved roles --- gswi.Model/AuthRoles.cs | 5 +++-- gswi/appsettings.json | 2 +- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/gswi.Model/AuthRoles.cs b/gswi.Model/AuthRoles.cs index 0066f3f..8c908b9 100644 --- a/gswi.Model/AuthRoles.cs +++ b/gswi.Model/AuthRoles.cs @@ -4,7 +4,8 @@ namespace gswi.Model { public enum AuthRoles { - Normal = 0, - Admin = 1 + User = 0, + Supporter = 1, + Admin = 2 } } diff --git a/gswi/appsettings.json b/gswi/appsettings.json index ec1a4c0..805a90a 100644 --- a/gswi/appsettings.json +++ b/gswi/appsettings.json @@ -9,7 +9,7 @@ "API": { "RedirectToHTTPS": true, "ApiVersion": { - "Major": "HEAD", + "Major": "1", "Minor": "0", "Micro": "0" }