last ...
This commit is contained in:
@@ -72,8 +72,9 @@ namespace xPushService.Providers
|
||||
{
|
||||
//
|
||||
var result =
|
||||
!userInfo.IsNullOrDefault() &&
|
||||
userInfo.HasAccess(permittedRoles);
|
||||
!permittedRoles.HasChild() ||
|
||||
(!userInfo.IsNullOrDefault() &&
|
||||
userInfo.HasAccess(permittedRoles));
|
||||
|
||||
//
|
||||
return result;
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
<Project Sdk="Microsoft.NET.Sdk">
|
||||
|
||||
<!-- Runtime Definition -->
|
||||
<PropertyGroup>
|
||||
<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.NewtonsoftJson" Version="5.0.17" />
|
||||
</ItemGroup>
|
||||
|
||||
<!-- For XML Documentation Support -->
|
||||
<PropertyGroup>
|
||||
<CopyLocalLockFileAssemblies>true</CopyLocalLockFileAssemblies>
|
||||
<GenerateDocumentationFile>true</GenerateDocumentationFile>
|
||||
<NoWarn>$(NoWarn);1591</NoWarn>
|
||||
</PropertyGroup>
|
||||
|
||||
</Project>
|
||||
Reference in New Issue
Block a user