Created
March 20, 2017 19:36
-
-
Save Lutando/fa60a105fd324d583084e6e1a29c3d71 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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