FileReadAccessAttribute.AllowBypass property

namespace: Serenity.Data   assemblySerenity.Net.Core

Gets or sets a value indicating whether bypass is allowed for this operation. The Bypass permission is usually given to administrators and set in FileReadAccessSettings. Default is true, meaning that users with the bypass permission are allowed to read the file.

public bool AllowBypass { get; set; }

See Also