Skip to content

EsmAccessControlOptions.Permissions property

Optional patterns of entry points mapped to the permission (or permission expression) required to load them, e.g. { "Modules/Administration/**": "Administration:General" }. When a path matches more than one pattern, the longest pattern wins. Empty by default, in which case entry points that are not anonymous use DefaultPermission. Note that a page may load modules of another page, e.g. to open a dialog of another module, which fails for users without the permission of that module.

public Dictionary<string, string> Permissions { get; set; }

See Also