PermissionRequestProcessorBase<ProcessorPermissionRequestType> Class

An abstract base class for Permission Request Processors.

Namespace: DevExpress.ExpressApp.Security

Assembly: DevExpress.ExpressApp.Security.v18.2.dll

Declaration

public abstract class PermissionRequestProcessorBase<ProcessorPermissionRequestType> :
        IPermissionRequestProcessor
    where ProcessorPermissionRequestType : class, IPermissionRequest
Public MustInherit Class PermissionRequestProcessorBase(Of ProcessorPermissionRequestType As {Class, IPermissionRequest})
    Implements IPermissionRequestProcessor

Type Parameters

Name Description
ProcessorPermissionRequestType

All Permission Requests (see IPermissionRequest) should have an appropriate Permission Request Processor known by the Security Strategy. To implement such a processor, inherit this class and pass the Permission Request type as the ancestor class' generic parameter. Handle the SecurityStrategy.CustomizeRequestProcessors event to register your custom processor, use the event's Permissions parameter to access current permissions. Refer to the How to: Implement Custom Security Objects (Users, Roles, Operation Permissions) topic to see an example.

Inheritance

Object
PermissionRequestProcessorBase<ProcessorPermissionRequestType>
See Also