Просмотр исходного кода

Fixed bug with IDependentSecurityDescriptor

Kenric Nugteren 2 месяцев назад
Родитель
Сommit
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
                     {