EsmFileAccessKind enumeration
namespace: Serenity.Web assembly: Serenity.Net.Web
The kind of access to a file that EsmAccessPolicy determines.
public enum EsmFileAccessKind
Values
| name | value | description |
|---|---|---|
| NotHandled | 0 |
Not an ESM file the policy handles, e.g. outside an esm folder or in one without a manifest, which is served as usual. |
| Hidden | 1 |
A file that is never served, e.g. the manifest itself. |
| Public | 2 |
A file that is served to everyone, including anonymous users. |
| Restricted | 3 |
A file that is served only to users with one of the permissions. |
See Also
- Source: EsmFileAccessKind.cs