namespace: Serenity.Data assembly: Serenity.Net.Core
Sets default read permission for fields of a row which doesn't have a ReadPermission themselves.
[AttributeUsage(AttributeTargets.All)]
public class FieldReadPermissionAttribute : PermissionAttributeBase
name | description |
---|---|
FieldReadPermissionAttribute(…) | Initializes a new instance of the FieldReadPermissionAttribute class. (3 constructors) |
ApplyToLookups { get; set; } | Determines whether this permission is also applied to row fields with [LookupInclude] attribute, ID and Name fields. Defaults to true. |
- class PermissionAttributeBase
- Source: FieldReadPermissionAttribute.cs