Package | Description |
---|---|
com.flowable.platform.service.permission |
Modifier and Type | Class and Description |
---|---|
class |
AuthorizedUserAction
This enumeration contains a list of actions which are authorized as part of the permission check when executing actions for a user.
|
Modifier and Type | Method and Description |
---|---|
protected Map<String,Object> |
UserPermissionServiceImpl.createRuleInputForDefaultModel(String userId,
AuthorizedAction action,
PlatformUser scopedObject,
Map<String,Object> detailedRuleInput,
CommandContext commandContext) |
protected abstract Map<String,Object> |
AbstractDmnBasedPermissionHelper.createRuleInputForDefaultModel(String userId,
AuthorizedAction action,
T scopedObject,
Map<String,Object> detailedRuleInput,
CommandContext commandContext)
If
AbstractDmnBasedPermissionHelper.getDecisionKeyDefaultPermissions() returns a non-null value, this method must be implemented in order to create the rule input data for
evaluating the default permission model. |
protected PermissionEvaluationResult |
AbstractDmnBasedPermissionHelper.evaluateDefaultPermissionOutput(String userId,
Collection<String> userGroupKeys,
String userTenantId,
String tenantId,
AuthorizedAction action,
T scopedObject,
Map<String,Object> detailedRuleInput,
CommandContext commandContext)
Evaluates the basic permissions for a given action within the scoped object for a specific user based on the default
permission DMN model.
|
protected Optional<String> |
AbstractDmnBasedPermissionHelper.evaluatePermissionsAndProcessResult(String userId,
Collection<String> userGroupKeys,
String userTenantId,
String tenantId,
AuthorizedAction action,
T scopedObject,
Map<String,Object> ruleInput,
String decisionModelKey,
String globalErrorMessageCode,
CommandContext commandContext)
Evaluates default permissions first using the default DMN rule model and depending on the outcome, evaluates
the detail DMN rule model according the provided action and decision key and finally processes the outcome
accordingly resulting in an optional error message, if permissions have been denied.
|