1
0
mirror of https://github.com/chylex/Minecraft-Phantom-Panel.git synced 2024-11-25 07:42:58 +01:00
Minecraft-Phantom-Panel/Web/Phantom.Web.Services/Authorization/PermissionBasedPolicyRequirement.cs
2023-12-05 14:27:55 +01:00

7 lines
229 B
C#

using Microsoft.AspNetCore.Authorization;
using Phantom.Common.Data.Web.Users;
namespace Phantom.Web.Services.Authorization;
sealed record PermissionBasedPolicyRequirement(Permission Permission) : IAuthorizationRequirement;