feat: initial commit
This commit is contained in:
@@ -0,0 +1,16 @@
|
||||
using Microsoft.AspNetCore.Authorization;
|
||||
using Strata.Analytics.Biz.Extracts.Models;
|
||||
|
||||
namespace Strata.Analytics.Api.Authorization
|
||||
{
|
||||
public class ExtractMinimumRoleRequirement : IAuthorizationRequirement
|
||||
{
|
||||
public ExtractRole MinimumRole { get; set; }
|
||||
|
||||
public ExtractMinimumRoleRequirement(ExtractRole role)
|
||||
{
|
||||
MinimumRole = role;
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user