Nucleus .Net Core CMS

Models.Permission Class

Namespace: Nucleus.Abstractions.Models
Assembly: Nucleus.Abstractions.dll
Represents access rights for Models.Page or Models.PageModule and Role.


Id Property

Unique record identifier.

RelatedId Property

Id of the entity that the permission applies to.

PermissionType Property

Specifies the access right (PermissionType) that this permission record applies to.
Permission types are extensible, but the default values represent Page View, Page Edit, Module View and Module Edit permissions.

Role Property

The Role that this permission applies to.

AllowAccess Property

Flag indicating whether to allow access, or not.
A False value for the permission does not automatically prevent access, a user may be granted access by belonging to another role which has permission to access the resource.