1
0
mirror of https://github.com/chylex/Minecraft-Phantom-Panel.git synced 2024-12-22 16:42:50 +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;