Skip to content

LocalTextPermissionFilter class

namespace: Serenity.Web   assembly: Serenity.Net.Web

Default implementation of ILocalTextPermissionFilter, see Enabled for the rules.

public class LocalTextPermissionFilter : ILocalTextPermissionFilter

Public Members

name description
LocalTextPermissionFilter(…) Creates a new instance of the class
Model { get; } Gets the model, which is built on first access.
GetCacheSuffix()
GetKeyFilter()

Protected Members

name description
virtual BuildModel() Builds the model from rows, forms, columns and nested local texts classes.
virtual ShouldFilter() Returns true if texts should be filtered for the current user, e.g. filtering is enabled, and the user does not have the UnfilteredPermission.

See Also