浏览代码

Fixed bug with IDependentSecurityDescriptor

Kenric Nugteren 1 月之前
父节点
当前提交
5c56c7744a
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      InABox.Core/Security/Security.cs

+ 1 - 1
InABox.Core/Security/Security.cs

@@ -162,7 +162,7 @@ namespace InABox.Core
                 {
                     if(descriptor is IDependentSecurityDescriptor dependent)
                     {
-                        return dependent.DependsOn.All(x => IsAllowed(T, userGuid, securityId));
+                        return dependent.DependsOn.All(x => IsAllowed(x, userGuid, securityId));
                     }
                     else
                     {