Table of Contents

Class PermissionContextAllowAll

Namespace
Dynamicweb.Security.Permissions
Assembly
Dynamicweb.Security.dll
public class PermissionContextAllowAll : PermissionContext, IDisposable
Inheritance
PermissionContextAllowAll
Implements
Inherited Members

Properties

DefaultPermission

Default permission level to grant for all cases where no specific permission has been set for the current context (context is typically current user).
public override PermissionLevel DefaultPermission { get; }

Property Value

PermissionLevel
defaultPermission

Methods

GetAllPermissions(UnifiedPermissionQuery)

Gets all permissions matching the query.
public override IList<UnifiedPermission> GetAllPermissions(UnifiedPermissionQuery query)

Parameters

query UnifiedPermissionQuery
Target of permission

Returns

IList<UnifiedPermission>

TryGetPermission(UnifiedPermissionIdentifier, ref PermissionLevel?)

Retrieves the permission level for the specified query.
public override bool TryGetPermission(UnifiedPermissionIdentifier identifier, ref PermissionLevel? permissionLevel)

Parameters

identifier UnifiedPermissionIdentifier
Target of permission
permissionLevel PermissionLevel?
Permission level

Returns

bool
To top