-
Notifications
You must be signed in to change notification settings - Fork 9
Securing the data
Ioan Crisan edited this page Oct 16, 2018
·
2 revisions
Entity types may be secured by decorating them with the [SupportsPermission] attribute.
Example:
/// <summary>
/// The customer entity type.
/// </summary>
[SupportsPermission(typeof(IAdminPermission))]
public interface ICustomer : ...
{
}
Note: If a mixin declares supported permission types, all entity types inheriting that mixin will support those permissions, too.