Skip to content

Latest commit

 

History

History
21 lines (15 loc) · 1.13 KB

FieldReadPermissionAttribute.md

File metadata and controls

21 lines (15 loc) · 1.13 KB

FieldReadPermissionAttribute class

namespace: Serenity.Data   assemblySerenity.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

Public Members

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.

See Also