public interface PermissionRule
PermissionAPI
Modifier and Type | Method and Description |
---|---|
boolean |
isAllowed(APISession apiSession,
APICallContext apiCallContext,
APIAccessor apiAccessor,
Logger logger)
Called by the engine when using
PermissionAPI.checkAPICallWithScript(String, APICallContext, boolean) |
boolean isAllowed(APISession apiSession, APICallContext apiCallContext, APIAccessor apiAccessor, Logger logger)
PermissionAPI.checkAPICallWithScript(String, APICallContext, boolean)
apiSession
- the api session from the user doing the api callapiCallContext
- the context of the api callapiAccessor
- an accessor to call apislogger
- a logger that use the engine loggerCopyright © 2020 Bonitasoft S.A. All rights reserved.