PermissionService Class

Namespace:
Weavy.Core.Services
Assembly:
Weavy.Core.dll

Service layer for managing permissions.

public static class PermissionService
Inheritance:
System.Object → PermissionService

Methods

AssertPermission(Permission, User) Assert that the specified user has the requested system permission.
HasPermission(IEntity, Permission, User) Check if the specified user has the requested permission to the specified entity.
HasPermission(Permission, User) Check if the specified user has the requested system permission.
Merge(IEnumerableControlEntry>) Merge an access control list into one permission entry.