From a15d5f27c81f14b804ccdd5f4eb7602368b8a681 Mon Sep 17 00:00:00 2001 From: Zephyr <12817816+ZephyrTFA@users.noreply.github.com> Date: Sun, 18 Aug 2024 23:50:05 -0400 Subject: [PATCH] Update src/Tgstation.Server.Host/Security/WindowsSystemIdentity.cs Co-authored-by: Jordan Dominion --- src/Tgstation.Server.Host/Security/WindowsSystemIdentity.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Tgstation.Server.Host/Security/WindowsSystemIdentity.cs b/src/Tgstation.Server.Host/Security/WindowsSystemIdentity.cs index 486d8d795c..609f33d2a2 100644 --- a/src/Tgstation.Server.Host/Security/WindowsSystemIdentity.cs +++ b/src/Tgstation.Server.Host/Security/WindowsSystemIdentity.cs @@ -25,7 +25,7 @@ namespace Tgstation.Server.Host.Security public bool CanCreateSymlinks => IsSuperUser; /// - public bool IsSuperUser => IsSuperUser; + public bool IsSuperUser => isAdmin ?? throw new NotSupportedException(); /// /// The for the .