Skip to main content
.NET 6.0+

PermissionRequestProcessorBase<ProcessorPermissionRequestType> Class

An abstract base class for Permission Request Processors.

Namespace: DevExpress.ExpressApp.Security

Assembly: DevExpress.ExpressApp.Security.v24.1.dll

Declaration

public abstract class PermissionRequestProcessorBase<ProcessorPermissionRequestType> :
    IPermissionRequestProcessor
    where ProcessorPermissionRequestType : class, IPermissionRequest

Type Parameters

Name
ProcessorPermissionRequestType

Remarks

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