namespace: Serenity.Services assembly: Serenity.Net.Web
Authorizes access to a service method by reading one of DeletePermissionAttribute, ModifyPermissionAttribute or ReadPermissionAttribute from the target type, which is usually a Row class.
[AttributeUsage(AttributeTargets.Class | AttributeTargets.Method)]
public class AuthorizeDeleteAttribute : ServiceAuthorizeAttribute
name | description |
---|---|
AuthorizeDeleteAttribute(…) | Creates a new instance of the attribute |
- class ServiceAuthorizeAttribute
- Source: AuthorizeDeleteAttribute.cs