diff options
| author | JP Dillingham <jp@dillingham.me> | 2023-03-21 17:13:37 -0500 |
|---|---|---|
| committer | JP Dillingham <jp@dillingham.me> | 2023-03-21 17:13:37 -0500 |
| commit | d2f51073593bfb7d88d57fc46abf6bd3bd90a8a7 (patch) | |
| tree | 6030285b47e687a95a49b956d09b40bc1b7b2849 /src/slskd/Common/Authentication/Role.cs | |
| parent | 097859a4b3d59b6131f82ba64ee9ee1c774a2f54 (diff) | |
| download | slskd-d2f51073593bfb7d88d57fc46abf6bd3bd90a8a7.tar.gz | |
add a Guest role, add AuthRole to avoid magic strings
Diffstat (limited to 'src/slskd/Common/Authentication/Role.cs')
| -rw-r--r-- | src/slskd/Common/Authentication/Role.cs | 3 |
1 files changed, 2 insertions, 1 deletions
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, } } |
