| 123456789101112131415161718 |
- using System;
- using System.Collections.Generic;
- using System.Text;
- namespace InABox.Core
- {
- /// <summary>
- /// Allows for customising the security tokens for entity actions, overriding the <see cref="AutoSecurityDescriptor{TEntity, TAction}"/> for
- /// a given <see cref="Entity"/>.
- /// </summary>
- [AttributeUsage(AttributeTargets.Class)]
- public class EntitySecurityAttribute : Attribute
- {
- public Type? CanView { get; set; }
- public Type? CanEdit { get; set; }
- public Type? CanDelete { get; set; }
- }
- }
|