Nucleus .Net Core CMS

Models.Permissions.PermissionsList Class

Namespace: Nucleus.Abstractions.Models.Permissions
Assembly: Nucleus.Abstractions.dll
Represent a list of permissions, keyed by Id.

Remarks

This class is used by views which render controls used to selected permissions for an entity.

Methods

Add (Role,IList<Permission>) Method

Add (Role role, IList<Permission> permissions)
Create and add a new PermissionsListItem.
Parameters
Name Type
role Nucleus.Abstractions.Models.Role
permissions System.Collections.Generic.IList<Nucleus.Abstractions.Models.Permission>