PermissionRequestProcessorBase<ProcessorPermissionRequestType> Class
An abstract base class for Permission Request Processors.
Namespace: DevExpress.ExpressApp.Security
Assembly: DevExpress.ExpressApp.Security.v24.2.dll
NuGet Package: DevExpress.ExpressApp.Security
Declaration
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.