From d2f51073593bfb7d88d57fc46abf6bd3bd90a8a7 Mon Sep 17 00:00:00 2001 From: JP Dillingham Date: Tue, 21 Mar 2023 17:13:37 -0500 Subject: add a Guest role, add AuthRole to avoid magic strings --- src/slskd/Common/Authentication/Role.cs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/slskd/Common/Authentication/Role.cs') diff --git a/src/slskd/Common/Authentication/Role.cs b/src/slskd/Common/Authentication/Role.cs index 2f88283c..87ba3466 100644 --- a/src/slskd/Common/Authentication/Role.cs +++ b/src/slskd/Common/Authentication/Role.cs @@ -21,6 +21,7 @@ namespace slskd.Authentication { ReadOnly = 0, ReadWrite = 1, - Administrator = 2, + Guest = 2, + Administrator = 3, } } -- cgit v1.2.3