Преглед на файлове

Fixed bug with IDependentSecurityDescriptor

Kenric Nugteren преди 2 месеца
родител
ревизия
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
                     {