Skip to content

Instantly share code, notes, and snippets.

@Lutando
Created March 20, 2017 19:36
Show Gist options
  • Save Lutando/fa60a105fd324d583084e6e1a29c3d71 to your computer and use it in GitHub Desktop.
Save Lutando/fa60a105fd324d583084e6e1a29c3d71 to your computer and use it in GitHub Desktop.
using Microsoft.AspNetCore.Authorization.Infrastructure;
namespace Formum.Api.Authorization.Operations
{
public class PostOperations
{
public static OperationAuthorizationRequirement Delete = new OperationAuthorizationRequirement { Name = "PostDelete" };
public static OperationAuthorizationRequirement Edit = new OperationAuthorizationRequirement { Name = "PostEdit" };
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment