This commit is contained in:
2026-06-12 23:44:23 +03:30
parent 34a0e9c97e
commit 98c6064d6f
2 changed files with 12 additions and 2 deletions
+3 -2
View File
@@ -72,8 +72,9 @@ namespace xPushService.Providers
{ {
// //
var result = var result =
!userInfo.IsNullOrDefault() && !permittedRoles.HasChild() ||
userInfo.HasAccess(permittedRoles); (!userInfo.IsNullOrDefault() &&
userInfo.HasAccess(permittedRoles));
// //
return result; return result;
+9
View File
@@ -1,4 +1,5 @@
<Project Sdk="Microsoft.NET.Sdk"> <Project Sdk="Microsoft.NET.Sdk">
<!-- Runtime Definition --> <!-- Runtime Definition -->
<PropertyGroup> <PropertyGroup>
<Version>1.0.0</Version> <Version>1.0.0</Version>
@@ -43,4 +44,12 @@
<PackageReference Include="Microsoft.AspNetCore.SignalR.Protocols.MessagePack" Version="3.1.31" /> <PackageReference Include="Microsoft.AspNetCore.SignalR.Protocols.MessagePack" Version="3.1.31" />
<PackageReference Include="Microsoft.AspNetCore.SignalR.Protocols.NewtonsoftJson" Version="5.0.17" /> <PackageReference Include="Microsoft.AspNetCore.SignalR.Protocols.NewtonsoftJson" Version="5.0.17" />
</ItemGroup> </ItemGroup>
<!-- For XML Documentation Support -->
<PropertyGroup>
<CopyLocalLockFileAssemblies>true</CopyLocalLockFileAssemblies>
<GenerateDocumentationFile>true</GenerateDocumentationFile>
<NoWarn>$(NoWarn);1591</NoWarn>
</PropertyGroup>
</Project> </Project>