ASEE Flow allows users to authorize access to the data it manages. This makes it possible to configure which user can access which process instances, tasks, etc…Authorization has a performance cost and introduces some complexity. It should only be used if required.
When is Authorization required?
Not every ASEE Flow setup needs to enable authorization. In many scenarios, ASEE Flow is embedded into an application and the application itself ensures that users can only access data they are authorized to access. Generally speaking, authorization is only required if untrusted parties interact with the process engine API directly. If you embed the process engine into a Java application, you usually do not need to enable authorization. The application can control how the API is accessed.Situations in which authorization is required:
ASEE Flow Rest API is made accessible to users who should not have full access, even after authentication.
ASEE Flow Webapplication is made accessible to users who should not have full access, even after authentication.
Other situations in which an untrusted user can directly construct the queries and commands executed on the process engine.
Situations in which authorization is not required
An application completely controls the API methods invoked on the process engine.
ASEE Flow Webapplication is made accessible to users who can have full access after authentication.
ExampleAssume that you have the following authorization requirement: As a regular user, I can only see the tasks that are assigned to me.If the engine is embedded into a Java application, the application can easily ensure this by restricting the task query on the assignee property. The application can guarantee this since the ASEE Flow API is not directly exposed to the user.By contrast, if the ASEE Flow Rest API is directly exposed over the network to a Javascript application, then a malicious user, once authenticated, can send a request to the server querying all tasks, even the ones that are not assigned to this user. In this case, authorization needs to be turned on to ensure the user only sees the tasks which he is authorized to see, regardless of the query parameters.
Basic Principles
Authorizations
An Authorization assigns a set of Permissions to an identity to interact with a given Resource.Examples
User ‘jonny’ is authorized to create new users
Group ‘marketing’ is not authorized to delete the Group ‘sales’
Group ‘marketing’ is not allowed to use the tasklist application.
Identities
ASEE Flow distinguishes between two types of identities: users and groups. Authorizations can either range over all users (userId = ANY), an individual user or a group of users.
Permissions
A Permission defines the way an identity is allowed to interact with a certain resource.The basic permissions available in the engine are:
None
All
Read
Update
Create
Delete
Access
Note that the permission None does not mean no permissions are granted. Instead, it represents “no action”.
Additionally, the All permission will vanish from a user if a single permission is revoked.For detailed list of available permissions please check Permission by resource section.A single authorization object may assign multiple permissions to a single user and resource:
Resources are the entities the user interacts with.The following resources are available:
Resource Name
Integer representation
Resource Id
Application (Cockpit, Tasklist, …)
0
admin/cockpit/tasklist/*
Authorization
4
Authorization Id
Batch
13
Batch Id
Decision Definition
10
Decision Definition Key
Decision Requirements Definition
14
Decision Requirements Definition Key
Deployment
9
Deployment Id
Filter
5
Filter Id
Group
2
Group Id
Group Membership
3
Group Id
Process Definition
6
Process Definition Key
Process Instance
8
Process Instance Id
Task
7
Task Id
Historic Task
19
Historic Task Id
Historic Process Instance
20
Historic Process Instance Id
Tenant
11
Tenant Id
Tenant Membership
12
Tenant Id
User
1
User Id
Report
15
Report Id
Dashboard
16
Dashboard Id
User Operation Log Category
17
User Operation Log Entry Category
System
21
* System resources do not support individual resource ids. You have to use them with a wildcard id (*).
Note: The Resource Id should be ’*’ when you create new authorization with CREATE permissions only.
Authorization Type
There are three types of authorizations:
Authorization type
Description
Integer representation
Global Authorization (AUTH_TYPE_GLOBAL)
Ranges over all users and groups (userId = ANY) and are usually used for fixing the “base” permission for a resource.
0
Grant Authorization (AUTH_TYPE_GRANT)
Ranges over users and groups and grants a set of permissions. Grant authorizations are commonly used for adding permissions to a user or group that the global authorization revokes.
1
Revoke Authorization (AUTH_TYPE_REVOKE)
Ranges over users and groups and revokes a set of permissions. Revoke authorizations are commonly used for revoking permissions to a user or group that the global authorization grants.
Authorizations may range over all users, an individual user or a group of users, or they may apply to an individual resource instance or all instances of the same type (resourceId = ANY). The precedence is as follows:
An authorization applying to an individual resource instance precedes over an authorization applying to all instances of the same resource type.
An authorization for an individual user precedes over an authorization for a group.
A Group authorization precedes over a GLOBAL authorization.
A Group GRANT authorization precedes over a Group REVOKE authorization.
A User GRANT authorization precedes over a User REVOKE authorization.
When are Authorizations checked?
Authorizations are checked if
the configuration option authorizationEnabled is set to true (default value is false).
there is a currently authenticated user.
The last item means that even if authorization is enabled, authorization checks are only performed if a user is currently authenticated.
If no user is authenticated, then the engine does not perform any checks.When using the ASEE Flow Webapps, it is always ensured that a user is authenticated before the user can access any restricted resources.
When embedding the process engine into a custom application, the application needs to take care of authentication if it needs authorization checks to be performed.
Authentication vs. AuthorizationAuthentication and Authorization are two distinct concepts as explained here.
Permissions by Resource
This section explains which permissions are available on which resources.
Read, Update, Create, Delete
The permissions Read, Update, Create, and Delete are available for most of the resources.
The following table gives an overview for which resources they are available:
Read
Update
Create
Delete
Authorization
X
X
X
X
Batch
X
X
X
X
Decision Definition
X
X
Decision Requirements Definition
X
Deployment
X
X
X
Filter
X
X
X
X
Group
X
X
X
X
Group Membership
X
X
Process Definition
X
X
X
Process Instance
X
X
X
X
Task
X
X
X
X
Historic Task
X
Historic Process Instance
X
Tenant
X
X
X
X
Tenant Membership
X
X
User
X
X
X
X
User Operation Log Category
X
X
X
To execute an operation asynchronously, only a Create permission on the Batch Resource is required. However, when executing the same operation synchronously, the specific permissions (e.g. Delete on Process Instance Resource) are checked.For example, a user without the Update permission on the Process Instance Resource and granted Create permission on the Batch Resource can modify multiple process instances asynchronously by creating a batch. However, the user can’t execute this operation synchronously.
Additional Task Permissions
In addition to Update, Read, and Delete, the following permissions are available on the Task Resource:
Task Assign
Task Work
Update Variable
A user can perform different actions on a task, like assigning the task, claiming the task or completing the task.
If a user has Update permissions on a task (or Update Task permissions on the corresponding process definition), the user is authorized to perform all these task actions.
If finer grained authorizations are required, the permissions Task Work and Task Assign can be used.
The intuition behind Task Work is that it only authorizes the user to work on a task (i.e., claim and complete it) but not assign it to another user or in another way “distribute work” to colleagues.If a user has Update Variable permission on a task (or Update Task Variable permission on the corresponding process definition) the user is authorized to perform set/remove task variable actions.The table below shows a detailed overview on which permissions authorize a user to perform which task actions:
Task Work
Task Assign
Update Variable
Update
Claim
X
X
Complete
X
X
Add Candidate User
X
X
Delete Candidate User
X
X
Set Assignee
X
X
Set Owner
X
X
Add Candidate Group
X
X
Delete Candidate Group
X
X
Save
X
X
Set Priority
X
X
Set Name
X
X
Set Description
X
X
Set Due Date
X
X
Set Follow Up Date
X
X
Set Local Variable
X
X
Remove Local Variable
X
X
GRANT and REVOKE authorizations with Task Work, Task Assign, and Update Variable permissions precede over Update and Update Task.
Default Task Permissions
When a user is related to a task as an assignee, a candidate user, a part of a candidate group, or an owner, these users
obtain the default permissions as either Task Work or Update, based on the process engine configuration property defaultUserPermissionNameForTask.If the “defaultUserPermissionNameForTask” configuration option is not set, then by default Update permission is granted.
Additional Process Definition Permissions
In Addition to Update, Read and Delete, the following permissions are available on the Process Definition Resource:
Read Task
Update Task
Task Work
Task Assign
Create Instance
Read Instance
Update Instance
Retry Job
Suspend
Suspend Instance
Update Instance Variable
Update Task Variable
Migrate Instance
Delete Instance
Read History
Delete History
Update History
The Create Instance permission is required to start new process instances.
Start new process instanceTo perform that action, the user also needs to have Create permission on the process instance resource.
GRANT and REVOKE authorizations with Retry Job, Suspend, Suspend Instance, Update Instance Variable, and Update Task Variable permissions precede over Update.
Keep in mind that user who is allowed to perform variable updates could trigger other changes in the process by updating a variable. For example, successful evaluation of conditional event related to this variable.
Additional Process Instance Permissions
In addition to Create, Read, Update, and Delete, the following permissions are available on the Process Instance Resource:
Retry Job
Suspend
Update Variable
GRANT and REVOKE authorizations with Retry Job, Suspend, and Update Variable permissions precede over Update.
Keep in mind that user who is allowed to perform variable updates could trigger other changes in the process by updating a variable. For example, successful evaluation of conditional event related to this variable.
Additional Decision Definition Permissions
In addition to Update, Read, and Delete, the following permissions are available on the Decision Definition Resource:
Create Instance
Read History
Delete History
The Create Instance permission is required to evaluate decisions with the decision service.
Additional Batch Permissions
In addition to Create, Update, Read, and Delete, the following permissions are available on the Batch Resource:
Read History
Delete History
Create Batch Migrate Process Instances
Create Batch Modify Process Instances
Create Batch Restart Process Instances
Create Batch Delete Running Process Instances
Create Batch Delete Finished Process Instances
Create Batch Delete Decision Instances
Create Batch Set Job Retries
Create Batch Set External Task Retries
Create Batch Update Process Instances Suspend
Create Batch Set Removal Time
Create Batch Set Variables
Create Batch Correlate Messages
GRANT and REVOKE authorizations with “Create Batch …” permissions precede over Create.
Default Read Variable Permissions
When the enforceSpecificVariablePermission process engine configuration is enabled, in order to read variables, the user needs to be granted the following permissions:In case of Tasks
Read Instance Variable (for runtime process instance variables)
Read History Variable (for historic variables)
Read Task Variable (for runtime task variables)
Application Permissions
The resource “Application” uniquely supports the Access permission.
The Access permission controls whether a user has access to a ASEE Flow web application or not. Out of the box, it can be granted for the following applications (resource ids):
admin
cockpit
tasklist
optimize
* (Any / All)
User Operation Log Permissions
The resource “User Operation Log Category” controls whether a user can access user operation log entries from the specified categories.
Out of the box, it can be granted for the following categories (resource ids):
TaskWorker
Admin
Operator
* (Any / All)
Historic Instance Permissions
The resources control whether a user can read the history related to a specific instance.Compared to runtime permissions, historic permissions are not immediately removed when the related
instance has been finished. The Removal-Time-based History Cleanup Strategy removes historic
permissions at a later point.You can enable the permissions with the help of a process engine configuration flag:
The feature is disabled by default because of two reasons:
When enabled, the SQL queries are more complex because additional authorization checks are performed.
More complex queries may degrade the performance.
When enabled and an Identity Link is added to a Task, the respective User or Group is authorized
to read the associated history (e. g. for the Task, Variable, or Identity Link History).
In Camunda 7.12 and earlier, the history is not readable in this case.
Historic Task Permissions
When permission is granted to a Historic Task, you can use the following queries to retrieve the
entities related to the Historic Task:
Historic Task Instance Query
Historic Variable Instance Query
Historic Detail Query
Identity Link Log Query
User Operation Log Query
Historic Process Instance Permissions
When permission is granted to a Historic Process Instance, you can use the following queries to
retrieve the entities related to the Historic Process Instance:
Historic Process Instance Query
Historic Activity Instance Query
Historic Task Instance Query
Historic Variable Instance Query
Historic Detail Query
Identity Link Log Query
Historic Incident Query
Job Log Query
External Task Log Query
User Operation Log Query
System permissions
Permissions for the system resource are usually granted to operations engineers who supervise processes and applications and ensure they run smoothly from a technical perspective.
Typically, those people do not need full access to the system like an administrator does. They must be able to access and change system information, including system properties, metrics, database information, telemetry, and license key data. Administrators will not need to have system permissions because their role already grants them access to all features. See also the Administrators section.The following table gives an overview of the features that the system permissions grant access to.
Read
Set
Delete
Configure Telemetry (Deprecated)
X
Get Telemetry Data
X
Get Telemetry Status (Deprecated)
X
Get Database Table Count
X
Get Database Table Name
X
Get Database Table Meta Data
X
Get History Level
X
Get Property
X
Set Property
X
Delete Property
X
Get License Key
X
Set License Key
X
Delete License Key
X
Register Process Application
X
Unregister Process Application
X
Get Process Application for Deployment
X
Register Deployment
X
Unregister Deployment
X
Get Registered Deployment
X
Delete Metrics
X
Delete Task Metrics
X
Query Schema Log
X
Administrators
ASEE Flow has no explicit concept of “administrator” beyond it being a user who has been granted all authorizations on all resources.
The “camunda-admin” Group
When downloading the ASEE Flow distribution, the invoice example application creates a group with id camunda-admin and grants all authorizations on all resources to this group.In absense of the demo application, this task is performed by the ASEE Flow Admin Web Application. If the ASEE Flow webapplication is started for the first time and no user exists in the database, it asks you to perform the “initial setup”. In this process, the camunda-admin group is created and granted all permissions on all resources.
LDAPThe group “camunda-admin” is not created when using LDAP (since LDAP is only accessed in a read-only way). Also see the below section on the administrator authorization plugin.
The Administrator Authorization Plugin
The administrator authorization plugin is a process engine plugin with the following functionality: when the process engine is started, it grants administrative access to a configured group or user. Effectively this means that it grants all permissions on all resources to the configured group or user.Usually this is used to bootstrap an LDAP installation: granting administrative access to an initial user who can then log in to Admin and configure additional authorizations using the UI.The following is an example of how to configure the administrator authorization plugin in bpm-platform.xml / processes.xml:
The plugin will make sure that administrator authorizations (ALL permissions) are granted on all resources whenever the process engine is started.
It is not necessary to configure all LDAP users and groups which should have administrator authorization. It is usually enough to configure a single user and use that user to log into the webapplication and create additional authorizations using the User Interface.
Complete list of configuration properties:
Property
Description
administratorUserName
The name of the administrator user. If this name is set to a non-null and non-empty value, the plugin will create user-level Administrator authorizations on all built-in resources.
administratorGroupName
The name of the administrator group. If this name is set to a non-null and non-empty value, the plugin will create group-level Administrator authorizations on all built-in resources.
Configuration Options
This section explains available process engine configuration options related to authorization.
Enable Authorization Checks
Authorization checks can be globally enabled or disabled using the configuration option authorizationEnabled. The default setting for this configuration option is false.
Enable Authorization Checks for User Code
The configuration option authorizationEnabledForCustomCode controls whether authorization checks are performed for commands executed by delegation code (i.e., a Java Delegate). The default setting for this configuration option is false.
Check Revoke Authorizations
The configuration option authorizationCheckRevokes controls whether authorization checks take into account authorizations of type Revoke.Available values are:
always: Always enables check for revoke authorizations. This mode is equal to the behavior of Camunda 7.4 and earlier. NOTE: Checking revoke authorizations is very expensive for resources with a high potential cardinality like tasks or process instances and can render authorized access to the process engine effectively unusable on most databases. You are therefore strongly discouraged from using this mode.
never: Never checks for revoke authorizations. This mode has best performance and effectively disables the use of revoke authorizations. Note: It is strongly recommended to use this mode.
auto (default value): This mode only checks for revoke authorizations if at least one revoke authorization currently exits for the current user or one of the groups the user is a member of. To achieve this it is checked once per command whether potentially applicable revoke authorizations exist. Based on the outcome, the authorization check then uses revoke or not. NOTE: Checking revoke authorizations is very expensive for resources with a high potential cardinality like tasks or process instances and can render authorized access to the process engine effectively unusable on most databases.
An authorization is created between a user/group and a resource. It describes the user/group’s permissions to access that resource. An authorization may express different permissions, such as the permission to Read, Update, and Delete the resource. (See Authorization for details).To grant the permission to access a certain resource, an authorization object is created. For example, to give access to a certain filter:
Authorization auth = authorizationService.createNewAuthorization(AUTH_TYPE_GRANT);// The authorization object can be configured either for a user or a group:auth.setUserId("john");// -OR-auth.setGroupId("management");//and a resource:auth.setResource("filter");auth.setResourceId("2313");// a resource can also be a process definitionauth.setResource(Resources.PROCESS_INSTANCE);// the process defintion key is the resource idauth.setResourceId("invoice");// finally the permissions to access that resource can be assigned:auth.addPermission(Permissions.READ);// more than one permission can be grantedauth.addPermission(Permissions.CREATE);// and the authorization object is saved:authorizationService.saveAuthorization(auth);
As a result, the given user or group will have permission to Read the referenced filter.Another possible example would be to restrict the group of persons who are allowed to start a specific process:
//we need to authorizations, one to access the process definition and another one to create process instancesAuthorization authProcessDefinition = authorizationService.createNewAuthorization(AUTH_TYPE_GRANT);Authorization authProcessInstance = authorizationService.createNewAuthorization(AUTH_TYPE_GRANT);authProcessDefinition.setUserId("johnny");authProcessInstance.setUserId("johnny");authProcessDefinition.setResource(Resources.PROCESS_DEFINITION);authProcessInstance.setResource(Resources.PROCESS_INSTANCE);//the resource id for a process definition is the process definition keyauthProcessDefinition.setResourceId("invoice");//asterisk to allow the start of a process instanceauthProcessInstance.setResourceId("*")// allow the user to create instances of this process definitionauthProcessDefinition.addPermission(Permissions.CREATE_INSTANCE);// and to create processesauthProcessInstance.addPermission(Permissions.CREATE);authorizationService.saveAuthorization(authProcessDefinition);authorizationService.saveAuthorization(authProcessInstance);
Authorizations are calculated by the database which is most efficient. Example: when performing a task query, the database query only returns the tasks for which the user has a READ authorization.
Performance of Checking Grant Authorizations
When only Grant authorizations are used, the check is very efficient since the authorization table can be joined with the resource table (task table, process instance table, etc…).
Performance of Checking Revoke Authorizations
Revoke authorizations are expensive to check. The check needs to consider the precedence of authorizations. Example: a user level Grant is stronger than a group level Revoke. A sequence of nested SQL CASE statements and a subselect is used to account for the precedence. This has two downsides:
The check scales linearly with the cardinality of the resource table (doubling the number of tasks makes the query twice as slow)
The particular construct based on CASE statements performs extremely poorly on the following databases: PostgreSQL, DB2
On these databases, revoke authorizations are effectively unusable.Also see the Configuration Options section on this page.
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"ASEE Flow","colors":{"primary":"#1d1d1b","light":"#e8e8e6","dark":"#1d1d1b"},"logo":{"light":"https://mintcdn.com/aseeflow/ZCa-DtOfmgFUtZwy/logo/ASEEFlowAsset%202logo.svg?fit=max\u0026auto=format\u0026n=ZCa-DtOfmgFUtZwy\u0026q=85\u0026s=4f27f54801dcb0858ec1ef607934b046","dark":"https://mintcdn.com/aseeflow/OpLRJy6TPnBLn55c/logo/aseeflow-logo-dark.svg?fit=max\u0026auto=format\u0026n=OpLRJy6TPnBLn55c\u0026q=85\u0026s=532de8ebeab30eed0009cd0a581d4ac2","href":"/"},"favicon":"https://mintcdn.com/aseeflow/ZCa-DtOfmgFUtZwy/logo/favicon.ico?fit=max\u0026auto=format\u0026n=ZCa-DtOfmgFUtZwy\u0026q=85\u0026s=f9caefb68514e68e8312efc299b039fa","appearance":{"default":"light"},"navbar":{"primary":{"type":"button","label":"Get Started","href":"/get-started"}},"footer":{"socials":{}},"styling":{"latex":false},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"aseeflow","hasAudioNarration":false,"actualSubdomain":"aseeflow","customDomains":["docs.aseeflow.org"],"gitSource":{"type":"github","owner":"aseeflow","repo":"aseeflow-mintlify-docs","deployBranch":"main","contentDirectory":"","isPrivate":true,"mountPath":"","label":"","_id":"6b10ee949ffae5051c416b08"},"entitlements":{"AI_CHAT":{"status":"DISABLED"}},"buildId":"6b053270310cc7c2ea501bfb","clientVersion":"0.0.4448","searchFilterCounts":[{"language":"default","tag":"Reference","count":2156},{"language":"default","tag":"REST API","count":818},{"language":"default","tag":"OpenAPI","count":800},{"language":"default","tag":"User Guide","count":552},{"language":"default","tag":"Web Applications","count":184},{"language":"default","tag":"Process Engine","count":108},{"language":"default","tag":"Process Definition","count":92},{"language":"default","tag":"Get Started","count":76},{"language":"default","tag":"BPMN 2.0","count":72},{"language":"default","tag":"Installation","count":64}]},"assistantConfig":{"enableAskAiButton":false,"enableStarterQuestions":false,"enableContextualStarterQuestions":false,"enableAskAiSearchBar":true},"basePath":"","hasChatPermissions":false,"hasWebMcpPermissions":false,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"rbac-expansion","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"full-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-dual-write","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-metadata","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-serve","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"live-agents","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"starter-pricing","enabled":true,"variant":{"name":"control","enabled":true,"payload":{"type":"string","value":"control"},"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"auth-vite-origin","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"starterQuestions":[],"googleFontsInlined":false},"customCss":[{"filePath":"style.css","content":".bpmn-symbol-container.implemented svg [stroke=\"#333333\"],.bpmn-events .implemented svg [stroke=\"#333333\"]{stroke:#f47b20}.bpmn-symbol-container.implemented svg [fill=\"#333333\"],.bpmn-events .implemented svg [fill=\"#333333\"]{fill:#f47b20}.bpmn-symbols div:not([class]){display:contents}.bpmn-symbol-container{display:inline-flex;flex-direction:column;align-items:center;justify-content:flex-start;vertical-align:top;text-align:center;width:8.5rem;margin:0.75rem 0.5rem}.bpmn-symbol-container a{font-size:0.85rem}.bpmn-pool-lane{position:relative;display:inline-flex;vertical-align:top;margin:0.75rem 0.5rem}.bpmn-pool-lane>.bpmn-symbol-container{width:auto;margin:0}.bpmn-pool-lane>.bpmn-lane-overlay{position:absolute;top:0;left:24px;z-index:2}.bpmn-events td{text-align:center;vertical-align:middle}.bpmn-events td:first-child{text-align:left;white-space:nowrap}.label-warning,.label-implemented{display:inline;padding:0.2em 0.6em 0.3em;font-size:0.85em;font-weight:700;line-height:1;color:#fff;background-color:#f47b20;border-radius:0.25em;white-space:nowrap}"}]}
{"page":{"pagePath":"1.x/user-guide/process-engine/authorization-service","slug":"/1.x/user-guide/process-engine/authorization-service","pageMetadata":{"title":"Authorization Service","description":null,"href":"/1.x/user-guide/process-engine/authorization-service"},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx,jsxs:_jsxs}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){const _components={a:`a`,code:`code`,em:`em`,li:`li`,ol:`ol`,p:`p`,pre:`pre`,span:`span`,strong:`strong`,tbody:`tbody`,ul:`ul`,..._provideComponents(),...props.components},{CodeBlock,Heading,Info,Warning}=_components;if(!CodeBlock)_missingMdxReference(`CodeBlock`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!Info)_missingMdxReference(`Info`,true);if(!Warning)_missingMdxReference(`Warning`,true);return _jsxs(_Fragment,{children:[_jsx(_components.p,{children:`ASEE Flow allows users to authorize access to the data it manages. This makes it possible to configure which user can access which process instances, tasks, etc…`}),`\n`,_jsx(_components.p,{children:`Authorization has a performance cost and introduces some complexity. It should only be used if required.`}),`\n`,_jsx(Heading,{level:`2`,id:`when-is-authorization-required`,children:`When is Authorization required?`}),`\n`,_jsx(_components.p,{children:`Not every ASEE Flow setup needs to enable authorization. In many scenarios, ASEE Flow is embedded into an application and the application itself ensures that users can only access data they are authorized to access. Generally speaking, authorization is only required if untrusted parties interact with the process engine API directly. If you embed the process engine into a Java application, you usually do not need to enable authorization. The application can control how the API is accessed.`}),`\n`,_jsx(_components.p,{children:`Situations in which authorization is required:`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsx(_components.li,{children:`ASEE Flow Rest API is made accessible to users who should not have full access, even after authentication.`}),`\n`,_jsx(_components.li,{children:`ASEE Flow Webapplication is made accessible to users who should not have full access, even after authentication.`}),`\n`,_jsx(_components.li,{children:`Other situations in which an untrusted user can directly construct the queries and commands executed on the process engine.`}),`\n`]}),`\n`,_jsxs(_components.p,{children:[`Situations in which authorization is `,_jsx(_components.em,{children:`not`}),` required`]}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsx(_components.li,{children:`An application completely controls the API methods invoked on the process engine.`}),`\n`,_jsx(_components.li,{children:`ASEE Flow Webapplication is made accessible to users who can have full access after authentication.`}),`\n`]}),`\n`,_jsx(_components.p,{children:_jsx(_components.strong,{children:`Example`})}),`\n`,_jsxs(_components.p,{children:[`Assume that you have the following authorization requirement: `,_jsx(_components.em,{children:`As a regular user, I can only see the tasks that are assigned to me.`})]}),`\n`,_jsxs(_components.p,{children:[`If the engine is embedded into a Java application, the application can easily ensure this by restricting the task query on the `,_jsx(_components.code,{children:`assignee`}),` property. The application can guarantee this since the ASEE Flow API is not directly exposed to the user.`]}),`\n`,_jsx(_components.p,{children:`By contrast, if the ASEE Flow Rest API is directly exposed over the network to a Javascript application, then a malicious user, once authenticated, can send a request to the server querying all tasks, even the ones that are not assigned to this user. In this case, authorization needs to be turned on to ensure the user only sees the tasks which he is authorized to see, regardless of the query parameters.`}),`\n`,_jsx(Heading,{level:`2`,id:`basic-principles`,children:`Basic Principles`}),`\n`,_jsx(Heading,{level:`3`,id:`authorizations`,children:`Authorizations`}),`\n`,_jsx(_components.p,{children:`An Authorization assigns a set of Permissions to an identity to interact with a given Resource.`}),`\n`,_jsx(_components.p,{children:_jsx(_components.strong,{children:`Examples`})}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsx(_components.li,{children:`User ‘jonny’ is authorized to create new users`}),`\n`,_jsx(_components.li,{children:`Group ‘marketing’ is not authorized to delete the Group ‘sales’`}),`\n`,_jsx(_components.li,{children:`Group ‘marketing’ is not allowed to use the tasklist application.`}),`\n`]}),`\n`,_jsx(Heading,{level:`3`,id:`identities`,children:`Identities`}),`\n`,_jsx(_components.p,{children:`ASEE Flow distinguishes between two types of identities: users and groups. Authorizations can either range over all users (userId = ANY), an individual user or a group of users.`}),`\n`,_jsx(Heading,{level:`3`,id:`permissions`,children:`Permissions`}),`\n`,_jsx(_components.p,{children:`A Permission defines the way an identity is allowed to interact with a certain resource.`}),`\n`,_jsx(_components.p,{children:`The basic permissions available in the engine are:`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsx(_components.li,{children:`None`}),`\n`,_jsx(_components.li,{children:`All`}),`\n`,_jsx(_components.li,{children:`Read`}),`\n`,_jsx(_components.li,{children:`Update`}),`\n`,_jsx(_components.li,{children:`Create`}),`\n`,_jsx(_components.li,{children:`Delete`}),`\n`,_jsx(_components.li,{children:`Access`}),`\n`]}),`\n`,_jsxs(_components.p,{children:[`Note that the permission `,_jsx(_components.strong,{children:`None`}),` does not mean no permissions are granted. Instead, it represents “no action”.\nAdditionally, the `,_jsx(_components.strong,{children:`All`}),` permission will vanish from a user if a single permission is revoked.`]}),`\n`,_jsxs(_components.p,{children:[`For detailed list of available permissions please check `,_jsx(_components.a,{href:`#permissions-by-resource`,children:`Permission by resource`}),` section.`]}),`\n`,_jsx(_components.p,{children:`A single authorization object may assign multiple permissions to a single user and resource:`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`3`,language:`java`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`java`,children:_jsxs(_components.code,{language:`java`,numberOfLines:`3`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`authorization`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`addPermission`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`Permissions`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`READ`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`);`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`authorization`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`addPermission`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`Permissions`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`UPDATE`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`);`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`authorization`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`addPermission`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`Permissions`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`DELETE`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`);`})]}),`\n`]})})}),`\n`,_jsx(Heading,{level:`3`,id:`resources`,children:`Resources`}),`\n`,_jsx(_components.p,{children:`Resources are the entities the user interacts with.`}),`\n`,_jsx(_components.p,{children:`The following resources are available:`}),`\n`,_jsx(`table`,{className:`mint-table matrix-table table-condensed table-hover table-bordered`,children:_jsxs(_components.tbody,{children:[_jsxs(`tr`,{children:[_jsx(`th`,{children:`Resource Name`}),_jsx(`th`,{children:`Integer representation`}),_jsx(`th`,{children:`Resource Id`})]}),_jsxs(`tr`,{children:[_jsx(`td`,{children:`Application (Cockpit, Tasklist, …)`}),_jsx(`td`,{children:`0`}),_jsx(`td`,{children:`admin/cockpit/tasklist/*`})]}),_jsxs(`tr`,{children:[_jsx(`td`,{children:`Authorization`}),_jsx(`td`,{children:`4`}),_jsx(`td`,{children:`Authorization Id`})]}),_jsxs(`tr`,{children:[_jsx(`td`,{children:`Batch`}),_jsx(`td`,{children:`13`}),_jsx(`td`,{children:`Batch Id`})]}),_jsxs(`tr`,{children:[_jsx(`td`,{children:`Decision Definition`}),_jsx(`td`,{children:`10`}),_jsx(`td`,{children:`Decision Definition Key`})]}),_jsxs(`tr`,{children:[_jsx(`td`,{children:`Decision Requirements Definition`}),_jsx(`td`,{children:`14`}),_jsx(`td`,{children:`Decision Requirements Definition Key`})]}),_jsxs(`tr`,{children:[_jsx(`td`,{children:`Deployment`}),_jsx(`td`,{children:`9`}),_jsx(`td`,{children:`Deployment Id`})]}),_jsxs(`tr`,{children:[_jsx(`td`,{children:`Filter`}),_jsx(`td`,{children:`5`}),_jsx(`td`,{children:`Filter Id`})]}),_jsxs(`tr`,{children:[_jsx(`td`,{children:`Group`}),_jsx(`td`,{children:`2`}),_jsx(`td`,{children:`Group Id`})]}),_jsxs(`tr`,{children:[_jsx(`td`,{children:`Group Membership`}),_jsx(`td`,{children:`3`}),_jsx(`td`,{children:`Group Id`})]}),_jsxs(`tr`,{children:[_jsx(`td`,{children:`Process Definition`}),_jsx(`td`,{children:`6`}),_jsx(`td`,{children:`Process Definition Key`})]}),_jsxs(`tr`,{children:[_jsx(`td`,{children:`Process Instance`}),_jsx(`td`,{children:`8`}),_jsx(`td`,{children:`Process Instance Id`})]}),_jsxs(`tr`,{children:[_jsx(`td`,{children:`Task`}),_jsx(`td`,{children:`7`}),_jsx(`td`,{children:`Task Id`})]}),_jsxs(`tr`,{children:[_jsx(`td`,{children:`Historic Task`}),_jsx(`td`,{children:`19`}),_jsx(`td`,{children:`Historic Task Id`})]}),_jsxs(`tr`,{children:[_jsx(`td`,{children:`Historic Process Instance`}),_jsx(`td`,{children:`20`}),_jsx(`td`,{children:`Historic Process Instance Id`})]}),_jsxs(`tr`,{children:[_jsx(`td`,{children:`Tenant`}),_jsx(`td`,{children:`11`}),_jsx(`td`,{children:`Tenant Id`})]}),_jsxs(`tr`,{children:[_jsx(`td`,{children:`Tenant Membership`}),_jsx(`td`,{children:`12`}),_jsx(`td`,{children:`Tenant Id`})]}),_jsxs(`tr`,{children:[_jsx(`td`,{children:`User`}),_jsx(`td`,{children:`1`}),_jsx(`td`,{children:`User Id`})]}),_jsxs(`tr`,{children:[_jsx(`td`,{children:`Report`}),_jsx(`td`,{children:`15`}),_jsx(`td`,{children:`Report Id`})]}),_jsxs(`tr`,{children:[_jsx(`td`,{children:`Dashboard`}),_jsx(`td`,{children:`16`}),_jsx(`td`,{children:`Dashboard Id`})]}),_jsxs(`tr`,{children:[_jsx(`td`,{children:`User Operation Log Category`}),_jsx(`td`,{children:`17`}),_jsx(`td`,{children:`User Operation Log Entry Category`})]}),_jsxs(`tr`,{children:[_jsx(`td`,{children:`System`}),_jsx(`td`,{children:`21`}),_jsxs(`td`,{children:[`*`,_jsx(`br`,{}),`System resources do not support individual resource ids. You have to use them with a wildcard id (*).`]})]})]})}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Note:`}),` The Resource Id should be ’*’ when you create new authorization with CREATE permissions only.`]}),`\n`,_jsx(Heading,{level:`3`,id:`authorization-type`,children:`Authorization Type`}),`\n`,_jsx(_components.p,{children:`There are three types of authorizations:`}),`\n`,_jsx(`table`,{className:`mint-table matrix-table table-condensed table-hover table-bordered`,children:_jsxs(_components.tbody,{children:[_jsxs(`tr`,{children:[_jsx(`th`,{children:`Authorization type`}),_jsx(`th`,{children:`Description`}),_jsx(`th`,{children:`Integer representation`})]}),_jsxs(`tr`,{children:[_jsxs(`td`,{children:[`Global Authorization (`,_jsx(`code`,{children:`AUTH_TYPE_GLOBAL`}),`)`]}),_jsxs(`td`,{children:[`Ranges over all users and groups (`,_jsx(`code`,{children:`userId = ANY`}),`) and are usually used for fixing the “base” permission for a resource.`]}),_jsx(`td`,{children:`0`})]}),_jsxs(`tr`,{children:[_jsxs(`td`,{children:[`Grant Authorization (`,_jsx(`code`,{children:`AUTH_TYPE_GRANT`}),`)`]}),_jsx(`td`,{children:`Ranges over users and groups and grants a set of permissions. Grant authorizations are commonly used for adding permissions to a user or group that the global authorization revokes.`}),_jsx(`td`,{children:`1`})]}),_jsxs(`tr`,{children:[_jsxs(`td`,{children:[`Revoke Authorization (`,_jsx(`code`,{children:`AUTH_TYPE_REVOKE`}),`)`]}),_jsx(`td`,{children:`Ranges over users and groups and revokes a set of permissions. Revoke authorizations are commonly used for revoking permissions to a user or group that the global authorization grants.`}),_jsx(`td`,{children:`2`})]})]})}),`\n`,_jsxs(Warning,{children:[_jsx(_components.p,{children:_jsx(_components.strong,{children:`Performance of REVOKE Authorizations`})}),_jsxs(_components.p,{children:[`See the `,_jsx(_components.a,{href:`#performance-considerations`,children:`Performance Considerations`}),` section on this Page.`]})]}),`\n`,_jsx(Heading,{level:`3`,id:`authorization-precedence`,children:`Authorization Precedence`}),`\n`,_jsx(_components.p,{children:`Authorizations may range over all users, an individual user or a group of users, or they may apply to an individual resource instance or all instances of the same type (resourceId = ANY). The precedence is as follows:`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsx(_components.li,{children:`An authorization applying to an individual resource instance precedes over an authorization applying to all instances of the same resource type.`}),`\n`,_jsx(_components.li,{children:`An authorization for an individual user precedes over an authorization for a group.`}),`\n`,_jsx(_components.li,{children:`A Group authorization precedes over a GLOBAL authorization.`}),`\n`,_jsx(_components.li,{children:`A Group GRANT authorization precedes over a Group REVOKE authorization.`}),`\n`,_jsx(_components.li,{children:`A User GRANT authorization precedes over a User REVOKE authorization.`}),`\n`]}),`\n`,_jsx(Heading,{level:`3`,id:`when-are-authorizations-checked`,children:`When are Authorizations checked?`}),`\n`,_jsx(_components.p,{children:`Authorizations are checked if`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[`the configuration option `,_jsx(_components.code,{children:`authorizationEnabled`}),` is set to `,_jsx(_components.code,{children:`true`}),` (default value is `,_jsx(_components.code,{children:`false`}),`).`]}),`\n`,_jsx(_components.li,{children:`there is a currently authenticated user.`}),`\n`]}),`\n`,_jsx(_components.p,{children:`The last item means that even if authorization is enabled, authorization checks are only performed if a user is currently authenticated.\nIf no user is authenticated, then the engine does not perform any checks.`}),`\n`,_jsx(_components.p,{children:`When using the ASEE Flow Webapps, it is always ensured that a user is authenticated before the user can access any restricted resources.\nWhen embedding the process engine into a custom application, the application needs to take care of authentication if it needs authorization checks to be performed.`}),`\n`,_jsxs(Info,{children:[_jsx(_components.p,{children:_jsx(_components.strong,{children:`Authentication vs. Authorization`})}),_jsxs(_components.p,{children:[`Authentication and Authorization are two distinct concepts as explained `,_jsx(_components.a,{href:`https://en.wikipedia.org/wiki/Authentication#Authorization`,children:`here`}),`.`]})]}),`\n`,_jsx(Heading,{level:`2`,id:`permissions-by-resource`,children:`Permissions by Resource`}),`\n`,_jsx(_components.p,{children:`This section explains which permissions are available on which resources.`}),`\n`,_jsx(Heading,{level:`3`,id:`read-update-create-delete`,children:`Read, Update, Create, Delete`}),`\n`,_jsxs(_components.p,{children:[`The permissions `,_jsx(_components.strong,{children:`Read`}),`, `,_jsx(_components.strong,{children:`Update`}),`, `,_jsx(_components.strong,{children:`Create`}),`, and `,_jsx(_components.strong,{children:`Delete`}),` are available for most of the resources.\nThe following table gives an overview for which resources they are available:`]}),`\n`,_jsxs(`table`,{className:`mint-table matrix-table table-condensed table-hover table-bordered`,children:[_jsx(`thead`,{children:_jsxs(`tr`,{children:[_jsx(`th`,{}),_jsx(`th`,{children:`Read`}),_jsx(`th`,{children:`Update`}),_jsx(`th`,{children:`Create`}),_jsx(`th`,{children:`Delete`})]})}),_jsxs(`tbody`,{children:[_jsxs(`tr`,{children:[_jsx(`th`,{children:`Authorization`}),_jsx(`td`,{children:`X`}),_jsx(`td`,{children:`X`}),_jsx(`td`,{children:`X`}),_jsx(`td`,{children:`X`})]}),_jsxs(`tr`,{children:[_jsx(`th`,{children:`Batch`}),_jsx(`td`,{children:`X`}),_jsx(`td`,{children:`X`}),_jsx(`td`,{children:`X`}),_jsx(`td`,{children:`X`})]}),_jsxs(`tr`,{children:[_jsx(`th`,{children:`Decision Definition`}),_jsx(`td`,{children:`X`}),_jsx(`td`,{children:`X`}),_jsx(`td`,{}),_jsx(`td`,{})]}),_jsxs(`tr`,{children:[_jsx(`th`,{children:`Decision Requirements Definition`}),_jsx(`td`,{children:`X`}),_jsx(`td`,{}),_jsx(`td`,{}),_jsx(`td`,{})]}),_jsxs(`tr`,{children:[_jsx(`th`,{children:`Deployment`}),_jsx(`td`,{children:`X`}),_jsx(`td`,{}),_jsx(`td`,{children:`X`}),_jsx(`td`,{children:`X`})]}),_jsxs(`tr`,{children:[_jsx(`th`,{children:`Filter`}),_jsx(`td`,{children:`X`}),_jsx(`td`,{children:`X`}),_jsx(`td`,{children:`X`}),_jsx(`td`,{children:`X`})]}),_jsxs(`tr`,{children:[_jsx(`th`,{children:`Group`}),_jsx(`td`,{children:`X`}),_jsx(`td`,{children:`X`}),_jsx(`td`,{children:`X`}),_jsx(`td`,{children:`X`})]}),_jsxs(`tr`,{children:[_jsx(`th`,{children:`Group Membership`}),_jsx(`td`,{}),_jsx(`td`,{}),_jsx(`td`,{children:`X`}),_jsx(`td`,{children:`X`})]}),_jsxs(`tr`,{children:[_jsx(`th`,{children:`Process Definition`}),_jsx(`td`,{children:`X`}),_jsx(`td`,{children:`X`}),_jsx(`td`,{}),_jsx(`td`,{children:`X`})]}),_jsxs(`tr`,{children:[_jsx(`th`,{children:`Process Instance`}),_jsx(`td`,{children:`X`}),_jsx(`td`,{children:`X`}),_jsx(`td`,{children:`X`}),_jsx(`td`,{children:`X`})]}),_jsxs(`tr`,{children:[_jsx(`th`,{children:`Task`}),_jsx(`td`,{children:`X`}),_jsx(`td`,{children:`X`}),_jsx(`td`,{children:`X`}),_jsx(`td`,{children:`X`})]}),_jsxs(`tr`,{children:[_jsx(`th`,{children:`Historic Task`}),_jsx(`td`,{children:`X`}),_jsx(`td`,{}),_jsx(`td`,{}),_jsx(`td`,{})]}),_jsxs(`tr`,{children:[_jsx(`th`,{children:`Historic Process Instance`}),_jsx(`td`,{children:`X`}),_jsx(`td`,{}),_jsx(`td`,{}),_jsx(`td`,{})]}),_jsxs(`tr`,{children:[_jsx(`th`,{children:`Tenant`}),_jsx(`td`,{children:`X`}),_jsx(`td`,{children:`X`}),_jsx(`td`,{children:`X`}),_jsx(`td`,{children:`X`})]}),_jsxs(`tr`,{children:[_jsx(`th`,{children:`Tenant Membership`}),_jsx(`td`,{}),_jsx(`td`,{}),_jsx(`td`,{children:`X`}),_jsx(`td`,{children:`X`})]}),_jsxs(`tr`,{children:[_jsx(`th`,{children:`User`}),_jsx(`td`,{children:`X`}),_jsx(`td`,{children:`X`}),_jsx(`td`,{children:`X`}),_jsx(`td`,{children:`X`})]}),_jsxs(`tr`,{children:[_jsx(`th`,{children:`User Operation Log Category`}),_jsx(`td`,{children:`X`}),_jsx(`td`,{children:`X`}),_jsx(`td`,{}),_jsx(`td`,{children:`X`})]})]})]}),`\n`,_jsxs(_components.p,{children:[`To execute an operation `,_jsx(_components.a,{href:`/1.x/user-guide/process-engine/batch`,children:`asynchronously`}),`, only a `,_jsx(_components.strong,{children:`Create`}),` permission on the Batch Resource is required. However, when executing the same operation synchronously, the specific permissions (e.g. `,_jsx(_components.strong,{children:`Delete`}),` on `,_jsx(_components.strong,{children:`Process Instance Resource`}),`) are checked.`]}),`\n`,_jsxs(_components.p,{children:[`For example, a user without the `,_jsx(_components.strong,{children:`Update`}),` permission on the `,_jsx(_components.strong,{children:`Process Instance Resource`}),` and granted `,_jsx(_components.strong,{children:`Create`}),` permission on the `,_jsx(_components.strong,{children:`Batch Resource`}),` can modify multiple process instances asynchronously by creating a batch. However, the user can’t execute this operation synchronously.`]}),`\n`,_jsx(Heading,{level:`3`,id:`additional-task-permissions`,children:`Additional Task Permissions`}),`\n`,_jsxs(_components.p,{children:[`In addition to `,_jsx(_components.strong,{children:`Update`}),`, `,_jsx(_components.strong,{children:`Read`}),`, and `,_jsx(_components.strong,{children:`Delete`}),`, the following permissions are available on the Task Resource:`]}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsx(_components.li,{children:`Task Assign`}),`\n`,_jsx(_components.li,{children:`Task Work`}),`\n`,_jsx(_components.li,{children:`Update Variable`}),`\n`]}),`\n`,_jsxs(_components.p,{children:[`A user can perform different actions on a task, like assigning the task, claiming the task or completing the task.\nIf a user has `,_jsx(_components.strong,{children:`Update`}),` permissions on a task (or `,_jsx(_components.strong,{children:`Update Task`}),` permissions on the corresponding process definition), the user is authorized to perform `,_jsx(_components.em,{children:`all`}),` these task actions.\nIf finer grained authorizations are required, the permissions `,_jsx(_components.strong,{children:`Task Work`}),` and `,_jsx(_components.strong,{children:`Task Assign`}),` can be used.\nThe intuition behind `,_jsx(_components.strong,{children:`Task Work`}),` is that it only authorizes the user to `,_jsx(_components.em,{children:`work`}),` on a task (i.e., claim and complete it) but not assign it to another user or in another way “distribute work” to colleagues.`]}),`\n`,_jsxs(_components.p,{children:[`If a user has `,_jsx(_components.strong,{children:`Update Variable`}),` permission on a task (or `,_jsx(_components.strong,{children:`Update Task Variable`}),` permission on the corresponding process definition) the user is authorized to perform set/remove task variable actions.`]}),`\n`,_jsx(_components.p,{children:`The table below shows a detailed overview on which permissions authorize a user to perform which task actions:`}),`\n`,_jsxs(`table`,{className:`mint-table matrix-table table-condensed table-hover table-bordered`,children:[_jsx(`thead`,{children:_jsxs(`tr`,{children:[_jsx(`th`,{}),_jsx(`th`,{children:`Task Work`}),_jsx(`th`,{children:`Task Assign`}),_jsx(`th`,{children:`Update Variable`}),_jsx(`th`,{children:`Update`})]})}),_jsxs(`tbody`,{children:[_jsxs(`tr`,{children:[_jsx(`th`,{children:`Claim`}),_jsx(`td`,{children:`X`}),_jsx(`td`,{}),_jsx(`td`,{}),_jsx(`td`,{children:`X`})]}),_jsxs(`tr`,{children:[_jsx(`th`,{children:`Complete`}),_jsx(`td`,{children:`X`}),_jsx(`td`,{}),_jsx(`td`,{}),_jsx(`td`,{children:`X`})]}),_jsxs(`tr`,{children:[_jsx(`th`,{children:`Add Candidate User`}),_jsx(`td`,{}),_jsx(`td`,{children:`X`}),_jsx(`td`,{}),_jsx(`td`,{children:`X`})]}),_jsxs(`tr`,{children:[_jsx(`th`,{children:`Delete Candidate User`}),_jsx(`td`,{}),_jsx(`td`,{children:`X`}),_jsx(`td`,{}),_jsx(`td`,{children:`X`})]}),_jsxs(`tr`,{children:[_jsx(`th`,{children:`Set Assignee`}),_jsx(`td`,{}),_jsx(`td`,{children:`X`}),_jsx(`td`,{}),_jsx(`td`,{children:`X`})]}),_jsxs(`tr`,{children:[_jsx(`th`,{children:`Set Owner`}),_jsx(`td`,{}),_jsx(`td`,{children:`X`}),_jsx(`td`,{}),_jsx(`td`,{children:`X`})]}),_jsxs(`tr`,{children:[_jsx(`th`,{children:`Add Candidate Group`}),_jsx(`td`,{}),_jsx(`td`,{children:`X`}),_jsx(`td`,{}),_jsx(`td`,{children:`X`})]}),_jsxs(`tr`,{children:[_jsx(`th`,{children:`Delete Candidate Group`}),_jsx(`td`,{}),_jsx(`td`,{children:`X`}),_jsx(`td`,{}),_jsx(`td`,{children:`X`})]}),_jsxs(`tr`,{children:[_jsx(`th`,{children:`Save`}),_jsx(`td`,{}),_jsx(`td`,{children:`X`}),_jsx(`td`,{}),_jsx(`td`,{children:`X`})]}),_jsxs(`tr`,{children:[_jsx(`th`,{children:`Set Priority`}),_jsx(`td`,{}),_jsx(`td`,{children:`X`}),_jsx(`td`,{}),_jsx(`td`,{children:`X`})]}),_jsxs(`tr`,{children:[_jsx(`th`,{children:`Set Name`}),_jsx(`td`,{}),_jsx(`td`,{children:`X`}),_jsx(`td`,{}),_jsx(`td`,{children:`X`})]}),_jsxs(`tr`,{children:[_jsx(`th`,{children:`Set Description`}),_jsx(`td`,{}),_jsx(`td`,{children:`X`}),_jsx(`td`,{}),_jsx(`td`,{children:`X`})]}),_jsxs(`tr`,{children:[_jsx(`th`,{children:`Set Due Date`}),_jsx(`td`,{}),_jsx(`td`,{children:`X`}),_jsx(`td`,{}),_jsx(`td`,{children:`X`})]}),_jsxs(`tr`,{children:[_jsx(`th`,{children:`Set Follow Up Date`}),_jsx(`td`,{}),_jsx(`td`,{children:`X`}),_jsx(`td`,{}),_jsx(`td`,{children:`X`})]}),_jsxs(`tr`,{children:[_jsx(`th`,{children:`Set Local Variable`}),_jsx(`td`,{}),_jsx(`td`,{}),_jsx(`td`,{children:`X`}),_jsx(`td`,{children:`X`})]}),_jsxs(`tr`,{children:[_jsx(`th`,{children:`Remove Local Variable`}),_jsx(`td`,{}),_jsx(`td`,{}),_jsx(`td`,{children:`X`}),_jsx(`td`,{children:`X`})]})]})]}),`\n`,_jsxs(_components.p,{children:[`GRANT and REVOKE authorizations with `,_jsx(_components.strong,{children:`Task Work`}),`, `,_jsx(_components.strong,{children:`Task Assign`}),`, and `,_jsx(_components.strong,{children:`Update Variable`}),` permissions precede over `,_jsx(_components.strong,{children:`Update`}),` and `,_jsx(_components.strong,{children:`Update Task`}),`.`]}),`\n`,_jsx(Heading,{level:`4`,id:`default-task-permissions`,children:`Default Task Permissions`}),`\n`,_jsxs(_components.p,{children:[`When a user is related to a task as an assignee, a candidate user, a part of a candidate group, or an owner, these users\nobtain the default permissions as either `,_jsx(_components.strong,{children:`Task Work`}),` or `,_jsx(_components.strong,{children:`Update`}),`, based on the process engine configuration property `,_jsx(_components.strong,{children:`defaultUserPermissionNameForTask`}),`.`]}),`\n`,_jsxs(_components.p,{children:[`If the “defaultUserPermissionNameForTask” configuration option is not set, then by default `,_jsx(_components.strong,{children:`Update`}),` permission is granted.`]}),`\n`,_jsx(Heading,{level:`3`,id:`additional-process-definition-permissions`,children:`Additional Process Definition Permissions`}),`\n`,_jsxs(_components.p,{children:[`In Addition to `,_jsx(_components.strong,{children:`Update`}),`, `,_jsx(_components.strong,{children:`Read`}),` and `,_jsx(_components.strong,{children:`Delete`}),`, the following permissions are available on the Process Definition Resource:`]}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsx(_components.li,{children:`Read Task`}),`\n`,_jsx(_components.li,{children:`Update Task`}),`\n`,_jsx(_components.li,{children:`Task Work`}),`\n`,_jsx(_components.li,{children:`Task Assign`}),`\n`,_jsx(_components.li,{children:`Create Instance`}),`\n`,_jsx(_components.li,{children:`Read Instance`}),`\n`,_jsx(_components.li,{children:`Update Instance`}),`\n`,_jsx(_components.li,{children:`Retry Job`}),`\n`,_jsx(_components.li,{children:`Suspend`}),`\n`,_jsx(_components.li,{children:`Suspend Instance`}),`\n`,_jsx(_components.li,{children:`Update Instance Variable`}),`\n`,_jsx(_components.li,{children:`Update Task Variable`}),`\n`,_jsx(_components.li,{children:`Migrate Instance`}),`\n`,_jsx(_components.li,{children:`Delete Instance`}),`\n`,_jsx(_components.li,{children:`Read History`}),`\n`,_jsx(_components.li,{children:`Delete History`}),`\n`,_jsx(_components.li,{children:`Update History`}),`\n`]}),`\n`,_jsxs(_components.p,{children:[`The `,_jsx(_components.strong,{children:`Create Instance`}),` permission is required to start new process instances.`]}),`\n`,_jsxs(Info,{children:[_jsx(_components.p,{children:_jsx(_components.strong,{children:`Start new process instance`})}),_jsxs(_components.p,{children:[`To perform that action, the user also needs to have `,_jsx(_components.strong,{children:`Create`}),` permission on the process instance resource.`]})]}),`\n`,_jsxs(_components.p,{children:[`GRANT and REVOKE authorizations with `,_jsx(_components.strong,{children:`Retry Job`}),`, `,_jsx(_components.strong,{children:`Suspend`}),`, `,_jsx(_components.strong,{children:`Suspend Instance`}),`, `,_jsx(_components.strong,{children:`Update Instance Variable`}),`, and `,_jsx(_components.strong,{children:`Update Task Variable`}),` permissions precede over `,_jsx(_components.strong,{children:`Update`}),`.\nKeep in mind that user who is allowed to perform variable updates could trigger other changes in the process by updating a variable. For example, successful evaluation of conditional event related to this variable.`]}),`\n`,_jsx(Heading,{level:`3`,id:`additional-process-instance-permissions`,children:`Additional Process Instance Permissions`}),`\n`,_jsxs(_components.p,{children:[`In addition to `,_jsx(_components.strong,{children:`Create`}),`, `,_jsx(_components.strong,{children:`Read`}),`, `,_jsx(_components.strong,{children:`Update`}),`, and `,_jsx(_components.strong,{children:`Delete`}),`, the following permissions are available on the Process Instance Resource:`]}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsx(_components.li,{children:`Retry Job`}),`\n`,_jsx(_components.li,{children:`Suspend`}),`\n`,_jsx(_components.li,{children:`Update Variable`}),`\n`]}),`\n`,_jsxs(_components.p,{children:[`GRANT and REVOKE authorizations with `,_jsx(_components.strong,{children:`Retry Job`}),`, `,_jsx(_components.strong,{children:`Suspend`}),`, and `,_jsx(_components.strong,{children:`Update Variable`}),` permissions precede over `,_jsx(_components.strong,{children:`Update`}),`.\nKeep in mind that user who is allowed to perform variable updates could trigger other changes in the process by updating a variable. For example, successful evaluation of conditional event related to this variable.`]}),`\n`,_jsx(Heading,{level:`3`,id:`additional-decision-definition-permissions`,children:`Additional Decision Definition Permissions`}),`\n`,_jsxs(_components.p,{children:[`In addition to `,_jsx(_components.strong,{children:`Update`}),`, `,_jsx(_components.strong,{children:`Read`}),`, and `,_jsx(_components.strong,{children:`Delete`}),`, the following permissions are available on the Decision Definition Resource:`]}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsx(_components.li,{children:`Create Instance`}),`\n`,_jsx(_components.li,{children:`Read History`}),`\n`,_jsx(_components.li,{children:`Delete History`}),`\n`]}),`\n`,_jsxs(_components.p,{children:[`The `,_jsx(_components.strong,{children:`Create Instance`}),` permission is required to evaluate decisions with the decision service.`]}),`\n`,_jsx(Heading,{level:`3`,id:`additional-batch-permissions`,children:`Additional Batch Permissions`}),`\n`,_jsxs(_components.p,{children:[`In addition to `,_jsx(_components.strong,{children:`Create`}),`, `,_jsx(_components.strong,{children:`Update`}),`, `,_jsx(_components.strong,{children:`Read`}),`, and `,_jsx(_components.strong,{children:`Delete`}),`, the following permissions are available on the Batch Resource:`]}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsx(_components.li,{children:`Read History`}),`\n`,_jsx(_components.li,{children:`Delete History`}),`\n`,_jsx(_components.li,{children:`Create Batch Migrate Process Instances`}),`\n`,_jsx(_components.li,{children:`Create Batch Modify Process Instances`}),`\n`,_jsx(_components.li,{children:`Create Batch Restart Process Instances`}),`\n`,_jsx(_components.li,{children:`Create Batch Delete Running Process Instances`}),`\n`,_jsx(_components.li,{children:`Create Batch Delete Finished Process Instances`}),`\n`,_jsx(_components.li,{children:`Create Batch Delete Decision Instances`}),`\n`,_jsx(_components.li,{children:`Create Batch Set Job Retries`}),`\n`,_jsx(_components.li,{children:`Create Batch Set External Task Retries`}),`\n`,_jsx(_components.li,{children:`Create Batch Update Process Instances Suspend`}),`\n`,_jsx(_components.li,{children:`Create Batch Set Removal Time`}),`\n`,_jsx(_components.li,{children:`Create Batch Set Variables`}),`\n`,_jsx(_components.li,{children:`Create Batch Correlate Messages`}),`\n`]}),`\n`,_jsx(_components.p,{children:`GRANT and REVOKE authorizations with “Create Batch …” permissions precede over Create.`}),`\n`,_jsx(Heading,{level:`3`,id:`default-read-variable-permissions`,children:`Default Read Variable Permissions`}),`\n`,_jsxs(_components.p,{children:[`When the `,_jsx(_components.code,{children:`enforceSpecificVariablePermission`}),` process engine configuration is enabled, in order to read variables, the user needs to be granted the following permissions:`]}),`\n`,_jsx(_components.p,{children:`In case of Tasks`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsx(_components.li,{children:`Read Variable (for process and standalone tasks)`}),`\n`]}),`\n`,_jsx(_components.p,{children:`In case of Historic Tasks`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[`Read Variable (only enforced when `,_jsx(_components.a,{href:`#historic-instance-permissions`,children:`Historic Instance Permissions`}),` are enabled)`]}),`\n`]}),`\n`,_jsx(_components.p,{children:`In case of Process Definitions`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsx(_components.li,{children:`Read Instance Variable (for runtime process instance variables)`}),`\n`,_jsx(_components.li,{children:`Read History Variable (for historic variables)`}),`\n`,_jsx(_components.li,{children:`Read Task Variable (for runtime task variables)`}),`\n`]}),`\n`,_jsx(Heading,{level:`3`,id:`application-permissions`,children:`Application Permissions`}),`\n`,_jsxs(_components.p,{children:[`The resource “Application” uniquely supports the `,_jsx(_components.strong,{children:`Access`}),` permission.\nThe `,_jsx(_components.strong,{children:`Access`}),` permission controls whether a user has access to a ASEE Flow web application or not. Out of the box, it can be granted for the following applications (resource ids):`]}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsx(_components.li,{children:_jsx(_components.code,{children:`admin`})}),`\n`,_jsx(_components.li,{children:_jsx(_components.code,{children:`cockpit`})}),`\n`,_jsx(_components.li,{children:_jsx(_components.code,{children:`tasklist`})}),`\n`,_jsx(_components.li,{children:_jsx(_components.code,{children:`optimize`})}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`*`}),` (Any / All)`]}),`\n`]}),`\n`,_jsx(Heading,{level:`3`,id:`user-operation-log-permissions`,children:`User Operation Log Permissions`}),`\n`,_jsx(_components.p,{children:`The resource “User Operation Log Category” controls whether a user can access user operation log entries from the specified categories.\nOut of the box, it can be granted for the following categories (resource ids):`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsx(_components.li,{children:_jsx(_components.code,{children:`TaskWorker`})}),`\n`,_jsx(_components.li,{children:_jsx(_components.code,{children:`Admin`})}),`\n`,_jsx(_components.li,{children:_jsx(_components.code,{children:`Operator`})}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`*`}),` (Any / All)`]}),`\n`]}),`\n`,_jsx(Heading,{level:`3`,id:`historic-instance-permissions`,children:`Historic Instance Permissions`}),`\n`,_jsx(_components.p,{children:`The resources control whether a user can read the history related to a specific instance.`}),`\n`,_jsxs(_components.p,{children:[`Compared to runtime permissions, historic permissions are not immediately removed when the related\ninstance has been finished. The `,_jsx(_components.a,{href:`/user-guide/process-engine/history/history-cleanup#removal-time-based-strategy`,children:`Removal-Time-based History Cleanup Strategy`}),` removes historic\npermissions at a later point.`]}),`\n`,_jsxs(_components.p,{children:[`You can enable the permissions with the help of a `,_jsx(_components.a,{href:`/reference/deployment-descriptors/tags/process-engine#enable-historic-instance-permissions`,children:`process engine configuration flag`}),`:`]}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`1`,language:`xml`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`xml`,children:_jsxs(_components.code,{language:`xml`,numberOfLines:`1`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#808080`},children:`\u003c`}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#569CD6`},children:`property`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#9CDCFE`},children:` name`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"enableHistoricInstancePermissions\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#808080`},children:`>`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`true`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#808080`},children:`\u003c/`}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#569CD6`},children:`property`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#808080`},children:`>`})]}),`\n`]})})}),`\n`,_jsx(_components.p,{children:`The feature is disabled by default because of two reasons:`}),`\n`,_jsxs(_components.ol,{children:[`\n`,_jsx(_components.li,{children:`When enabled, the SQL queries are more complex because additional authorization checks are performed.\nMore complex queries may degrade the performance.`}),`\n`,_jsx(_components.li,{children:`When enabled and an Identity Link is added to a Task, the respective User or Group is authorized\nto read the associated history (e. g. for the Task, Variable, or Identity Link History).\nIn Camunda 7.12 and earlier, the history is not readable in this case.`}),`\n`]}),`\n`,_jsx(Heading,{level:`4`,id:`historic-task-permissions`,children:`Historic Task Permissions`}),`\n`,_jsx(_components.p,{children:`When permission is granted to a Historic Task, you can use the following queries to retrieve the\nentities related to the Historic Task:`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsx(_components.li,{children:`Historic Task Instance Query`}),`\n`,_jsx(_components.li,{children:`Historic Variable Instance Query`}),`\n`,_jsx(_components.li,{children:`Historic Detail Query`}),`\n`,_jsx(_components.li,{children:`Identity Link Log Query`}),`\n`,_jsx(_components.li,{children:`User Operation Log Query`}),`\n`]}),`\n`,_jsx(Heading,{level:`4`,id:`historic-process-instance-permissions`,children:`Historic Process Instance Permissions`}),`\n`,_jsx(_components.p,{children:`When permission is granted to a Historic Process Instance, you can use the following queries to\nretrieve the entities related to the Historic Process Instance:`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsx(_components.li,{children:`Historic Process Instance Query`}),`\n`,_jsx(_components.li,{children:`Historic Activity Instance Query`}),`\n`,_jsx(_components.li,{children:`Historic Task Instance Query`}),`\n`,_jsx(_components.li,{children:`Historic Variable Instance Query`}),`\n`,_jsx(_components.li,{children:`Historic Detail Query`}),`\n`,_jsx(_components.li,{children:`Identity Link Log Query`}),`\n`,_jsx(_components.li,{children:`Historic Incident Query`}),`\n`,_jsx(_components.li,{children:`Job Log Query`}),`\n`,_jsx(_components.li,{children:`External Task Log Query`}),`\n`,_jsx(_components.li,{children:`User Operation Log Query`}),`\n`]}),`\n`,_jsx(Heading,{level:`3`,id:`system-permissions`,children:`System permissions`}),`\n`,_jsxs(_components.p,{children:[`Permissions for the system resource are usually granted to operations engineers who supervise processes and applications and ensure they run smoothly from a technical perspective.\nTypically, those people do not need full access to the system like an administrator does. They must be able to access and change system information, including system properties, metrics, database information, telemetry, and license key data. Administrators will not need to have system permissions because their role already grants them access to all features. See also the `,_jsx(_components.a,{href:`#Administrators`,children:`Administrators`}),` section.`]}),`\n`,_jsx(_components.p,{children:`The following table gives an overview of the features that the system permissions grant access to.`}),`\n`,_jsxs(`table`,{className:`mint-table matrix-table table-condensed table-hover table-bordered`,children:[_jsx(`thead`,{children:_jsxs(`tr`,{children:[_jsx(`th`,{}),_jsx(`th`,{children:`Read`}),_jsx(`th`,{children:`Set`}),_jsx(`th`,{children:`Delete`})]})}),_jsxs(`tbody`,{children:[_jsxs(`tr`,{children:[_jsx(`th`,{children:`Configure Telemetry (Deprecated)`}),_jsx(`td`,{}),_jsx(`td`,{children:`X`}),_jsx(`td`,{})]}),_jsxs(`tr`,{children:[_jsx(`th`,{children:`Get Telemetry Data`}),_jsx(`td`,{children:`X`}),_jsx(`td`,{}),_jsx(`td`,{})]}),_jsxs(`tr`,{children:[_jsx(`th`,{children:`Get Telemetry Status (Deprecated)`}),_jsx(`td`,{children:`X`}),_jsx(`td`,{}),_jsx(`td`,{})]}),_jsxs(`tr`,{children:[_jsx(`th`,{children:`Get Database Table Count`}),_jsx(`td`,{children:`X`}),_jsx(`td`,{}),_jsx(`td`,{})]}),_jsxs(`tr`,{children:[_jsx(`th`,{children:`Get Database Table Name`}),_jsx(`td`,{children:`X`}),_jsx(`td`,{}),_jsx(`td`,{})]}),_jsxs(`tr`,{children:[_jsx(`th`,{children:`Get Database Table Meta Data`}),_jsx(`td`,{children:`X`}),_jsx(`td`,{}),_jsx(`td`,{})]}),_jsxs(`tr`,{children:[_jsx(`th`,{children:`Get History Level`}),_jsx(`td`,{children:`X`}),_jsx(`td`,{}),_jsx(`td`,{})]}),_jsxs(`tr`,{children:[_jsx(`th`,{children:`Get Property`}),_jsx(`td`,{children:`X`}),_jsx(`td`,{}),_jsx(`td`,{})]}),_jsxs(`tr`,{children:[_jsx(`th`,{children:`Set Property`}),_jsx(`td`,{}),_jsx(`td`,{children:`X`}),_jsx(`td`,{})]}),_jsxs(`tr`,{children:[_jsx(`th`,{children:`Delete Property`}),_jsx(`td`,{}),_jsx(`td`,{}),_jsx(`td`,{children:`X`})]}),_jsxs(`tr`,{children:[_jsx(`th`,{children:`Get License Key`}),_jsx(`td`,{children:`X`}),_jsx(`td`,{}),_jsx(`td`,{})]}),_jsxs(`tr`,{children:[_jsx(`th`,{children:`Set License Key`}),_jsx(`td`,{}),_jsx(`td`,{children:`X`}),_jsx(`td`,{})]}),_jsxs(`tr`,{children:[_jsx(`th`,{children:`Delete License Key`}),_jsx(`td`,{}),_jsx(`td`,{}),_jsx(`td`,{children:`X`})]}),_jsxs(`tr`,{children:[_jsx(`th`,{children:`Register Process Application`}),_jsx(`td`,{}),_jsx(`td`,{children:`X`}),_jsx(`td`,{})]}),_jsxs(`tr`,{children:[_jsx(`th`,{children:`Unregister Process Application`}),_jsx(`td`,{}),_jsx(`td`,{children:`X`}),_jsx(`td`,{})]}),_jsxs(`tr`,{children:[_jsx(`th`,{children:`Get Process Application for Deployment`}),_jsx(`td`,{children:`X`}),_jsx(`td`,{}),_jsx(`td`,{})]}),_jsxs(`tr`,{children:[_jsx(`th`,{children:`Register Deployment`}),_jsx(`td`,{}),_jsx(`td`,{children:`X`}),_jsx(`td`,{})]}),_jsxs(`tr`,{children:[_jsx(`th`,{children:`Unregister Deployment`}),_jsx(`td`,{}),_jsx(`td`,{children:`X`}),_jsx(`td`,{})]}),_jsxs(`tr`,{children:[_jsx(`th`,{children:`Get Registered Deployment`}),_jsx(`td`,{children:`X`}),_jsx(`td`,{}),_jsx(`td`,{})]}),_jsxs(`tr`,{children:[_jsx(`th`,{children:`Delete Metrics`}),_jsx(`td`,{}),_jsx(`td`,{}),_jsx(`td`,{children:`X`})]}),_jsxs(`tr`,{children:[_jsx(`th`,{children:`Delete Task Metrics`}),_jsx(`td`,{}),_jsx(`td`,{}),_jsx(`td`,{children:`X`})]}),_jsxs(`tr`,{children:[_jsx(`th`,{children:`Query Schema Log`}),_jsx(`td`,{children:`X`}),_jsx(`td`,{}),_jsx(`td`,{})]})]})]}),`\n`,_jsx(Heading,{level:`2`,id:`administrators`,children:`Administrators`}),`\n`,_jsx(_components.p,{children:`ASEE Flow has no explicit concept of “administrator” beyond it being a user who has been granted all authorizations on all resources.`}),`\n`,_jsx(Heading,{level:`3`,id:`the-“camunda-admin”-group`,children:`The “camunda-admin” Group`}),`\n`,_jsxs(_components.p,{children:[`When downloading the ASEE Flow distribution, the invoice example application creates a group with id `,_jsx(_components.code,{children:`camunda-admin`}),` and grants all authorizations on all resources to this group.`]}),`\n`,_jsxs(_components.p,{children:[`In absense of the demo application, this task is performed by the `,_jsx(_components.a,{href:`/1.x/webapps/admin/user-management#initial-user-setup`,children:`ASEE Flow Admin Web Application`}),`. If the ASEE Flow webapplication is started for the first time and no user exists in the database, it asks you to perform the “initial setup”. In this process, the `,_jsx(_components.code,{children:`camunda-admin`}),` group is created and granted all permissions on all resources.`]}),`\n`,_jsxs(Info,{children:[_jsx(_components.p,{children:_jsx(_components.strong,{children:`LDAP`})}),_jsx(_components.p,{children:`The group “camunda-admin” is not created when using LDAP (since LDAP is only accessed in a read-only way). Also see the below section on the administrator authorization plugin.`})]}),`\n`,_jsx(Heading,{level:`3`,id:`the-administrator-authorization-plugin`,children:`The Administrator Authorization Plugin`}),`\n`,_jsx(_components.p,{children:`The administrator authorization plugin is a process engine plugin with the following functionality: when the process engine is started, it grants administrative access to a configured group or user. Effectively this means that it grants all permissions on all resources to the configured group or user.`}),`\n`,_jsx(_components.p,{children:`Usually this is used to bootstrap an LDAP installation: granting administrative access to an initial user who can then log in to Admin and configure additional authorizations using the UI.`}),`\n`,_jsx(_components.p,{children:`The following is an example of how to configure the administrator authorization plugin in bpm-platform.xml / processes.xml:`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`11`,language:`xml`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`xml`,children:_jsxs(_components.code,{language:`xml`,numberOfLines:`11`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#808080`},children:`\u003c`}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#569CD6`},children:`process-engine`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#9CDCFE`},children:` name`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"default\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#808080`},children:`>`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` ...`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#808080`},children:` \u003c`}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#569CD6`},children:`plugins`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#808080`},children:`>`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#808080`},children:` \u003c`}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#569CD6`},children:`plugin`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#808080`},children:`>`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#808080`},children:` \u003c`}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#569CD6`},children:`class`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#808080`},children:`>`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`org.camunda.bpm.engine.impl.plugin.AdministratorAuthorizationPlugin`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#808080`},children:`\u003c/`}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#569CD6`},children:`class`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#808080`},children:`>`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#808080`},children:` \u003c`}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#569CD6`},children:`properties`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#808080`},children:`>`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#808080`},children:` \u003c`}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#569CD6`},children:`property`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#9CDCFE`},children:` name`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"administratorUserName\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#808080`},children:`>`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`admin`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#808080`},children:`\u003c/`}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#569CD6`},children:`property`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#808080`},children:`>`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#808080`},children:` \u003c/`}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#569CD6`},children:`properties`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#808080`},children:`>`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#808080`},children:` \u003c/`}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#569CD6`},children:`plugin`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#808080`},children:`>`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#808080`},children:` \u003c/`}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#569CD6`},children:`plugins`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#808080`},children:`>`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#808080`},children:`\u003c/`}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#569CD6`},children:`process-engine`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#808080`},children:`>`})]}),`\n`]})})}),`\n`,_jsx(_components.p,{children:`The plugin will make sure that administrator authorizations (ALL permissions) are granted on all resources whenever the process engine is started.`}),`\n`,_jsx(Info,{children:_jsx(_components.p,{children:`It is not necessary to configure all LDAP users and groups which should have administrator authorization. It is usually enough to configure a single user and use that user to log into the webapplication and create additional authorizations using the User Interface.`})}),`\n`,_jsx(_components.p,{children:`Complete list of configuration properties:`}),`\n`,_jsx(`table`,{className:`mint-table table-striped`,children:_jsxs(_components.tbody,{children:[_jsxs(`tr`,{children:[_jsx(`th`,{children:`Property`}),_jsx(`th`,{children:`Description`})]}),_jsxs(`tr`,{children:[_jsx(`td`,{children:_jsx(`code`,{children:`administratorUserName`})}),_jsx(`td`,{children:`The name of the administrator user. If this name is set to a non-null and non-empty value, the plugin will create user-level Administrator authorizations on all built-in resources.`})]}),_jsxs(`tr`,{children:[_jsx(`td`,{children:_jsx(`code`,{children:`administratorGroupName`})}),_jsx(`td`,{children:`The name of the administrator group. If this name is set to a non-null and non-empty value, the plugin will create group-level Administrator authorizations on all built-in resources.`})]})]})}),`\n`,_jsx(Heading,{level:`2`,id:`configuration-options`,children:`Configuration Options`}),`\n`,_jsx(_components.p,{children:`This section explains available process engine configuration options related to authorization.`}),`\n`,_jsx(Heading,{level:`3`,id:`enable-authorization-checks`,children:`Enable Authorization Checks`}),`\n`,_jsxs(_components.p,{children:[`Authorization checks can be globally enabled or disabled using the configuration option `,_jsx(_components.code,{children:`authorizationEnabled`}),`. The default setting for this configuration option is `,_jsx(_components.code,{children:`false`}),`.`]}),`\n`,_jsx(Heading,{level:`3`,id:`enable-authorization-checks-for-user-code`,children:`Enable Authorization Checks for User Code`}),`\n`,_jsxs(_components.p,{children:[`The configuration option `,_jsx(_components.code,{children:`authorizationEnabledForCustomCode`}),` controls whether authorization checks are performed for commands executed by delegation code (i.e., a Java Delegate). The default setting for this configuration option is `,_jsx(_components.code,{children:`false`}),`.`]}),`\n`,_jsx(Heading,{level:`3`,id:`check-revoke-authorizations`,children:`Check Revoke Authorizations`}),`\n`,_jsxs(_components.p,{children:[`The configuration option `,_jsx(_components.code,{children:`authorizationCheckRevokes`}),` controls whether authorization checks take into account authorizations of type `,_jsx(_components.code,{children:`Revoke`}),`.`]}),`\n`,_jsx(_components.p,{children:`Available values are:`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[`\n`,_jsxs(_components.p,{children:[_jsx(_components.code,{children:`always`}),`: Always enables check for revoke authorizations. This mode is equal to the behavior of Camunda 7.4 and earlier. `,_jsx(_components.em,{children:`NOTE:`}),` Checking revoke authorizations is very expensive for resources with a high potential cardinality like tasks or process instances and can render authorized access to the process engine effectively unusable on most databases. You are therefore strongly discouraged from using this mode.`]}),`\n`]}),`\n`,_jsxs(_components.li,{children:[`\n`,_jsxs(_components.p,{children:[_jsx(_components.code,{children:`never`}),`: Never checks for revoke authorizations. This mode has best performance and effectively disables the use of revoke authorizations. `,_jsx(_components.em,{children:`Note`}),`: It is strongly recommended to use this mode.`]}),`\n`]}),`\n`,_jsxs(_components.li,{children:[`\n`,_jsxs(_components.p,{children:[_jsx(_components.code,{children:`auto`}),` (`,_jsx(_components.strong,{children:`default value`}),`): This mode only checks for revoke authorizations if at least one revoke authorization currently exits for the current user or one of the groups the user is a member of. To achieve this it is checked once per command whether potentially applicable revoke authorizations exist. Based on the outcome, the authorization check then uses revoke or not. `,_jsx(_components.em,{children:`NOTE:`}),` Checking revoke authorizations is very expensive for resources with a high potential cardinality like tasks or process instances and can render authorized access to the process engine effectively unusable on most databases.`]}),`\n`]}),`\n`]}),`\n`,_jsxs(_components.p,{children:[`Also see the `,_jsx(_components.a,{href:`#performance-considerations`,children:`Performance Considerations`}),` section on this page.`]}),`\n`,_jsx(Heading,{level:`2`,id:`java-api-example`,children:`Java API example`}),`\n`,_jsxs(_components.p,{children:[`An authorization is created between a user/group and a resource. It describes the user/group’s permissions to access that resource. An authorization may express different permissions, such as the permission to `,_jsx(_components.strong,{children:`Read`}),`, `,_jsx(_components.strong,{children:`Update`}),`, and `,_jsx(_components.strong,{children:`Delete`}),` the resource. (See Authorization for details).`]}),`\n`,_jsx(_components.p,{children:`To grant the permission to access a certain resource, an authorization object is created. For example, to give access to a certain filter:`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`22`,language:`java`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`java`,children:_jsxs(_components.code,{language:`java`,numberOfLines:`22`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#4EC9B0`},children:`Authorization`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` auth`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` =`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` authorizationService`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`createNewAuthorization`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(AUTH_TYPE_GRANT);`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`// The authorization object can be configured either for a user or a group:`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`auth`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`setUserId`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"john\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`);`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`// -OR-`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`auth`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`setGroupId`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"management\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`);`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`//and a resource:`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`auth`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`setResource`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"filter\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`);`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`auth`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`setResourceId`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"2313\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`);`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`// a resource can also be a process definition`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`auth`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`setResource`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`Resources`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`PROCESS_INSTANCE`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`);`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`// the process defintion key is the resource id`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`auth`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`setResourceId`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"invoice\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`);`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`// finally the permissions to access that resource can be assigned:`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`auth`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`addPermission`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`Permissions`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`READ`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`);`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`// more than one permission can be granted`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`auth`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`addPermission`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`Permissions`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`CREATE`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`);`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`// and the authorization object is saved:`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`authorizationService`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`saveAuthorization`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(auth);`})]}),`\n`]})})}),`\n`,_jsxs(_components.p,{children:[`As a result, the given user or group will have permission to `,_jsx(_components.strong,{children:`Read`}),` the referenced filter.`]}),`\n`,_jsx(_components.p,{children:`Another possible example would be to restrict the group of persons who are allowed to start a specific process:`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`20`,language:`java`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`java`,children:_jsxs(_components.code,{language:`java`,numberOfLines:`20`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`//we need to authorizations, one to access the process definition and another one to create process instances`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#4EC9B0`},children:`Authorization`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` authProcessDefinition`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` =`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` authorizationService`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`createNewAuthorization`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(AUTH_TYPE_GRANT);`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#4EC9B0`},children:`Authorization`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` authProcessInstance`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` =`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` authorizationService`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`createNewAuthorization`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(AUTH_TYPE_GRANT);`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`authProcessDefinition`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`setUserId`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"johnny\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`);`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`authProcessInstance`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`setUserId`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"johnny\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`);`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`authProcessDefinition`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`setResource`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`Resources`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`PROCESS_DEFINITION`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`);`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`authProcessInstance`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`setResource`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`Resources`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`PROCESS_INSTANCE`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`);`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`//the resource id for a process definition is the process definition key`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`authProcessDefinition`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`setResourceId`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"invoice\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`);`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`//asterisk to allow the start of a process instance`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`authProcessInstance`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`setResourceId`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"*\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`)`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`// allow the user to create instances of this process definition`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`authProcessDefinition`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`addPermission`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`Permissions`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`CREATE_INSTANCE`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`);`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`// and to create processes`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`authProcessInstance`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`addPermission`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`Permissions`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`CREATE`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`);`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`authorizationService`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`saveAuthorization`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(authProcessDefinition);`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`authorizationService`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`saveAuthorization`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(authProcessInstance);`})]}),`\n`]})})}),`\n`,_jsx(Heading,{level:`2`,id:`asee-flow-admin-webapp`,children:`ASEE Flow Admin Webapp`}),`\n`,_jsxs(_components.p,{children:[`The ASEE Flow Admin Webapplication provides an out of the box `,_jsx(_components.a,{href:`/1.x/webapps/admin/authorization-management`,children:`UI for configuring Authorizations`}),`.`]}),`\n`,_jsx(Heading,{level:`2`,id:`performance-considerations`,children:`Performance Considerations`}),`\n`,_jsx(_components.p,{children:`Authorizations are calculated by the database which is most efficient. Example: when performing a task query, the database query only returns the tasks for which the user has a READ authorization.`}),`\n`,_jsx(Heading,{level:`3`,id:`performance-of-checking-grant-authorizations`,children:`Performance of Checking Grant Authorizations`}),`\n`,_jsx(_components.p,{children:`When only Grant authorizations are used, the check is very efficient since the authorization table can be joined with the resource table (task table, process instance table, etc…).`}),`\n`,_jsx(Heading,{level:`3`,id:`performance-of-checking-revoke-authorizations`,children:`Performance of Checking Revoke Authorizations`}),`\n`,_jsxs(_components.p,{children:[`Revoke authorizations are expensive to check. The check needs to consider the precedence of authorizations. Example: a user level Grant is stronger than a group level Revoke. A sequence of nested SQL `,_jsx(_components.code,{children:`CASE`}),` statements and a subselect is used to account for the precedence. This has two downsides:`]}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsx(_components.li,{children:`The check scales linearly with the cardinality of the resource table (doubling the number of tasks makes the query twice as slow)`}),`\n`,_jsxs(_components.li,{children:[`The particular construct based on `,_jsx(_components.code,{children:`CASE`}),` statements performs extremely poorly on the following databases: PostgreSQL, DB2`]}),`\n`]}),`\n`,_jsx(_components.p,{children:`On these databases, revoke authorizations are effectively unusable.`}),`\n`,_jsxs(_components.p,{children:[`Also see the `,_jsx(_components.a,{href:`#check-revoke-authorizations`,children:`Configuration Options`}),` section on this page.`]})]})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent};function _missingMdxReference(id,component){throw new Error(`Expected `+(component?`component`:`object`)+\" `\"+id+\"` to be defined: you likely forgot to import, pass, or provide it.\")}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"Authorization Service","description":null,"href":"/1.x/user-guide/process-engine/authorization-service"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[{"title":"When is Authorization required?","slug":"when-is-authorization-required","depth":2,"children":[]},{"title":"Basic Principles","slug":"basic-principles","depth":2,"children":[{"title":"Authorizations","slug":"authorizations","depth":3,"children":[]},{"title":"Identities","slug":"identities","depth":3,"children":[]},{"title":"Permissions","slug":"permissions","depth":3,"children":[]},{"title":"Resources","slug":"resources","depth":3,"children":[]},{"title":"Authorization Type","slug":"authorization-type","depth":3,"children":[]},{"title":"Authorization Precedence","slug":"authorization-precedence","depth":3,"children":[]},{"title":"When are Authorizations checked?","slug":"when-are-authorizations-checked","depth":3,"children":[]}]},{"title":"Permissions by Resource","slug":"permissions-by-resource","depth":2,"children":[{"title":"Read, Update, Create, Delete","slug":"read-update-create-delete","depth":3,"children":[]},{"title":"Additional Task Permissions","slug":"additional-task-permissions","depth":3,"children":[]},{"title":"Default Task Permissions","slug":"default-task-permissions","depth":4,"children":[]},{"title":"Additional Process Definition Permissions","slug":"additional-process-definition-permissions","depth":3,"children":[]},{"title":"Additional Process Instance Permissions","slug":"additional-process-instance-permissions","depth":3,"children":[]},{"title":"Additional Decision Definition Permissions","slug":"additional-decision-definition-permissions","depth":3,"children":[]},{"title":"Additional Batch Permissions","slug":"additional-batch-permissions","depth":3,"children":[]},{"title":"Default Read Variable Permissions","slug":"default-read-variable-permissions","depth":3,"children":[]},{"title":"Application Permissions","slug":"application-permissions","depth":3,"children":[]},{"title":"User Operation Log Permissions","slug":"user-operation-log-permissions","depth":3,"children":[]},{"title":"Historic Instance Permissions","slug":"historic-instance-permissions","depth":3,"children":[]},{"title":"Historic Task Permissions","slug":"historic-task-permissions","depth":4,"children":[]},{"title":"Historic Process Instance Permissions","slug":"historic-process-instance-permissions","depth":4,"children":[]},{"title":"System permissions","slug":"system-permissions","depth":3,"children":[]}]},{"title":"Administrators","slug":"administrators","depth":2,"children":[{"title":"The “camunda-admin” Group","slug":"the-“camunda-admin”-group","depth":3,"children":[]},{"title":"The Administrator Authorization Plugin","slug":"the-administrator-authorization-plugin","depth":3,"children":[]}]},{"title":"Configuration Options","slug":"configuration-options","depth":2,"children":[{"title":"Enable Authorization Checks","slug":"enable-authorization-checks","depth":3,"children":[]},{"title":"Enable Authorization Checks for User Code","slug":"enable-authorization-checks-for-user-code","depth":3,"children":[]},{"title":"Check Revoke Authorizations","slug":"check-revoke-authorizations","depth":3,"children":[]}]},{"title":"Java API example","slug":"java-api-example","depth":2,"children":[]},{"title":"ASEE Flow Admin Webapp","slug":"asee-flow-admin-webapp","depth":2,"children":[]},{"title":"Performance Considerations","slug":"performance-considerations","depth":2,"children":[{"title":"Performance of Checking Grant Authorizations","slug":"performance-of-checking-grant-authorizations","depth":3,"children":[]},{"title":"Performance of Checking Revoke Authorizations","slug":"performance-of-checking-revoke-authorizations","depth":3,"children":[]}]}],"codeExamples":{}},"jsLinks":["/_mintlify/custom/aseeflow/adc7e16456bb6574/reference/dmn/decision-table/img/map.js"],"dynamicCss":".mint-table {\n display: table\n}","subdomain":"aseeflow","siteName":"ASEE Flow","title":"Authorization Service - ASEE Flow","contextualStarterQuestions":[],"navMaps":{"firstHrefInVersion":{"2.x":{"href":"/user-guide/process-engine/authorization-service","matchLevel":1},"1.x":{"href":"/1.x/user-guide/process-engine/authorization-service","matchLevel":0}},"firstHrefInLanguage":{}},"lastModified":"2026-11-04T17:36:10.814Z","originalFileLocation":"1.x/user-guide/process-engine/authorization-service.mdx"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=null;if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"light\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"application-name\" content=\"ASEE Flow\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"apple-touch-icon\" type=\"image/x-icon\" sizes=\"180x180\" href=\"https://mintcdn.com/aseeflow/ZCa-DtOfmgFUtZwy/logo/favicon.ico?fit=max\u0026amp;auto=format\u0026amp;n=ZCa-DtOfmgFUtZwy\u0026amp;q=85\u0026amp;s=f9caefb68514e68e8312efc299b039fa\">\u003clink data-mint-head rel=\"icon\" type=\"image/x-icon\" sizes=\"32x32\" href=\"https://mintcdn.com/aseeflow/ZCa-DtOfmgFUtZwy/logo/favicon.ico?fit=max\u0026amp;auto=format\u0026amp;n=ZCa-DtOfmgFUtZwy\u0026amp;q=85\u0026amp;s=f9caefb68514e68e8312efc299b039fa\">\u003clink data-mint-head rel=\"icon\" type=\"image/x-icon\" sizes=\"16x16\" href=\"https://mintcdn.com/aseeflow/ZCa-DtOfmgFUtZwy/logo/favicon.ico?fit=max\u0026amp;auto=format\u0026amp;n=ZCa-DtOfmgFUtZwy\u0026amp;q=85\u0026amp;s=f9caefb68514e68e8312efc299b039fa\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"https://mintcdn.com/aseeflow/ZCa-DtOfmgFUtZwy/logo/favicon.ico?fit=max\u0026amp;auto=format\u0026amp;n=ZCa-DtOfmgFUtZwy\u0026amp;q=85\u0026amp;s=f9caefb68514e68e8312efc299b039fa\">\u003cmeta data-mint-head property=\"og:title\" content=\"Authorization Service - ASEE Flow\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"ASEE Flow\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.aseeflow.org/1.x/user-guide/process-engine/authorization-service\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://aseeflow.mintlify.site/_mintlify/api/og/v2?division=Process+Engine\u0026amp;title=Authorization+Service\u0026amp;theme=eb766351d1c6850fee809491\u0026amp;signature=e9037143995038d988ab965a4b75b546d73ec5fbf4766114c00afc2e5b119084\">\u003cmeta data-mint-head property=\"og:image:width\" content=\"1200\">\u003cmeta data-mint-head property=\"og:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"twitter:card\" content=\"summary_large_image\">\u003cmeta data-mint-head name=\"twitter:title\" content=\"Authorization Service - ASEE Flow\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://aseeflow.mintlify.site/_mintlify/api/og/v2?division=Process+Engine\u0026amp;title=Authorization+Service\u0026amp;theme=eb766351d1c6850fee809491\u0026amp;signature=e9037143995038d988ab965a4b75b546d73ec5fbf4766114c00afc2e5b119084\">\u003cmeta data-mint-head name=\"twitter:image:width\" content=\"1200\">\u003cmeta data-mint-head name=\"twitter:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"msapplication-config\" content=\"https://mintlify.s3.us-west-1.amazonaws.com/aseeflow/_generated/favicon/browserconfig.xml?v=3\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"ASEE Flow\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#1d1d1b\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.aseeflow.org/1.x/user-guide/process-engine/authorization-service\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/1.x/user-guide/process-engine/authorization-service.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.aseeflow.org/#organization\",\"name\":\"ASEE Flow\",\"url\":\"https://docs.aseeflow.org\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/aseeflow/ZCa-DtOfmgFUtZwy/logo/ASEEFlowAsset%202logo.svg?fit=max\u0026auto=format\u0026n=ZCa-DtOfmgFUtZwy\u0026q=85\u0026s=4f27f54801dcb0858ec1ef607934b046\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.aseeflow.org#website\",\"name\":\"ASEE Flow\",\"url\":\"https://docs.aseeflow.org\",\"publisher\":{\"@id\":\"https://docs.aseeflow.org/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.aseeflow.org/1.x/user-guide/process-engine/authorization-service#webpage\",\"url\":\"https://docs.aseeflow.org/1.x/user-guide/process-engine/authorization-service\",\"name\":\"Authorization Service\",\"dateModified\":\"2026-11-04T17:36:10.814Z\",\"isPartOf\":{\"@id\":\"https://docs.aseeflow.org#website\"},\"breadcrumb\":{\"@id\":\"https://docs.aseeflow.org/1.x/user-guide/process-engine/authorization-service#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.aseeflow.org/1.x/user-guide/process-engine/authorization-service#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"User Guide\",\"item\":\"https://docs.aseeflow.org/1.x/user-guide\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Process Engine\",\"item\":\"https://docs.aseeflow.org/1.x/user-guide/process-engine\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Authorization Service\",\"item\":\"https://docs.aseeflow.org/1.x/user-guide/process-engine/authorization-service\"}]},{\"@type\":[\"Article\",\"TechArticle\"],\"@id\":\"https://docs.aseeflow.org/1.x/user-guide/process-engine/authorization-service#article\",\"headline\":\"Authorization Service\",\"name\":\"Authorization Service\",\"url\":\"https://docs.aseeflow.org/1.x/user-guide/process-engine/authorization-service\",\"mainEntityOfPage\":{\"@id\":\"https://docs.aseeflow.org/1.x/user-guide/process-engine/authorization-service#webpage\"},\"dateModified\":\"2026-11-04T17:36:10.814Z\",\"publisher\":{\"@id\":\"https://docs.aseeflow.org/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.aseeflow.org#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"ASEE Flow\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"ASEE Flow\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/1.x/user-guide/process-engine/authorization-service.md","siteName":"ASEE Flow","nav":{"global":null,"versions":[{"version":"2.x","default":true,"tag":"Latest","pages":[{"title":"2.x","href":"/user-guide/process-engine/authorization-service"}]},{"version":"1.x","tabs":[{"tab":"Get Started","pages":[{"title":"Get Started","href":"/1.x/get-started"}]},{"tab":"Introduction","pages":[{"title":"Introduction","href":"/1.x/introduction"}]},{"tab":"User Guide","groups":[{"group":"User Guide","root":{"title":"User Guide","href":"/1.x/user-guide"},"pages":[{"group":"Process Engine","root":{"title":"Process Engine","href":"/1.x/user-guide/process-engine"},"pages":[{"title":"Process Engine Bootstrapping","href":"/1.x/user-guide/process-engine/process-engine-bootstrapping"},{"title":"Process Engine API","href":"/1.x/user-guide/process-engine/process-engine-api"},{"title":"Process Engine Concepts","href":"/1.x/user-guide/process-engine/process-engine-concepts"},{"title":"Process Variables","href":"/1.x/user-guide/process-engine/variables"},{"title":"Process Instance Modification","href":"/1.x/user-guide/process-engine/process-instance-modification"},{"title":"Process Instance Restart","href":"/1.x/user-guide/process-engine/process-instance-restart"},{"title":"Delegation Code","href":"/1.x/user-guide/process-engine/delegation-code"},{"group":"Expression Language","root":{"title":"Expression Language","href":"/1.x/user-guide/process-engine/expression-language"},"pages":[{"title":"Friendly Enough Expression Language","href":"/1.x/user-guide/process-engine/expression-language/friendly-enough-expression-language"},{"title":"Unified Expression Language","href":"/1.x/user-guide/process-engine/expression-language/unified-expression-language"}]},{"title":"Scripting","href":"/1.x/user-guide/process-engine/scripting"},{"title":"Templating","href":"/1.x/user-guide/process-engine/templating"},{"title":"Custom Code \u0026 Security","href":"/1.x/user-guide/process-engine/securing-custom-code"},{"title":"External Tasks","href":"/1.x/user-guide/process-engine/external-tasks"},{"title":"Connectors","href":"/1.x/user-guide/process-engine/connectors"},{"title":"Process Versioning","href":"/1.x/user-guide/process-engine/process-versioning"},{"title":"Process Instance Migration","href":"/1.x/user-guide/process-engine/process-instance-migration"},{"group":"Database","root":{"title":"Database","href":"/1.x/user-guide/process-engine/database"},"pages":[{"title":"Database Schema","href":"/1.x/user-guide/process-engine/database/database-schema"},{"title":"Database Configuration","href":"/1.x/user-guide/process-engine/database/database-configuration"},{"title":"Microsoft SQL Server and Azure SQL Database Configuration","href":"/1.x/user-guide/process-engine/database/mssql-configuration"},{"title":"MySQL Database Configuration","href":"/1.x/user-guide/process-engine/database/mysql-configuration"},{"title":"Performance","href":"/1.x/user-guide/process-engine/database/performance"}]},{"group":"History","root":{"title":"History","href":"/1.x/user-guide/process-engine/history"},"pages":[{"title":"History configuration","href":"/1.x/user-guide/process-engine/history/history-configuration"},{"title":"User operation log","href":"/1.x/user-guide/process-engine/history/user-operation-log"},{"title":"History cleanup","href":"/1.x/user-guide/process-engine/history/history-cleanup"},{"title":"Custom implementation","href":"/1.x/user-guide/process-engine/history/custom-implementation"}]},{"title":"Deployment Cache","href":"/1.x/user-guide/process-engine/deployment-cache"},{"title":"Password Hashing","href":"/1.x/user-guide/process-engine/password-hashing"},{"title":"Password Policy","href":"/1.x/user-guide/process-engine/password-policy"},{"title":"Transactions in Processes","href":"/1.x/user-guide/process-engine/transactions-in-processes"},{"title":"The Job Executor","href":"/1.x/user-guide/process-engine/the-job-executor"},{"title":"Multi-Tenancy","href":"/1.x/user-guide/process-engine/multi-tenancy"},{"title":"Id Generators","href":"/1.x/user-guide/process-engine/id-generator"},{"title":"Metrics","href":"/1.x/user-guide/process-engine/metrics"},{"title":"Incidents","href":"/1.x/user-guide/process-engine/incidents"},{"title":"Process Engine Plugins","href":"/1.x/user-guide/process-engine/process-engine-plugins"},{"title":"Identity Service","description":null,"href":"/1.x/user-guide/process-engine/identity-service"},{"title":"Authorization Service","href":"/1.x/user-guide/process-engine/authorization-service"},{"title":"Deployments","description":null,"href":"/1.x/user-guide/process-engine/deployments"},{"title":"Process Diagram Visualization","href":"/1.x/user-guide/process-engine/process-diagram-api"},{"title":"Time zones","href":"/1.x/user-guide/process-engine/time-zones"},{"group":"Decisions","root":{"title":"Decisions in the Process Engine","sidebarTitle":"Overview","href":"/1.x/user-guide/process-engine/decisions"},"pages":[{"title":"Configure the DMN engine","sidebarTitle":"Configuration","href":"/1.x/user-guide/process-engine/decisions/configuration"},{"title":"Decisions in the Process Engine Repository","sidebarTitle":"Repository","href":"/1.x/user-guide/process-engine/decisions/repository"},{"title":"Decision Service in the Process Engine","sidebarTitle":"Decision Service","href":"/1.x/user-guide/process-engine/decisions/decision-service"},{"title":"Invoke Decisions from Processes and Cases","sidebarTitle":"Decisions in BPMN \u0026 CMMN","href":"/1.x/user-guide/process-engine/decisions/bpmn-cmmn"},{"title":"History for DMN Decisions","sidebarTitle":"History","href":"/1.x/user-guide/process-engine/decisions/history"}]},{"title":"Batch","href":"/1.x/user-guide/process-engine/batch"},{"title":"Batch operations","href":"/1.x/user-guide/process-engine/batch-operations"},{"title":"Error Handling","href":"/1.x/user-guide/process-engine/error-handling"},{"title":"Diagnostics data","href":"/1.x/user-guide/process-engine/diagnostics-data"}]},{"group":"Process Applications","root":{"title":"Process Applications","sidebarTitle":"Overview","href":"/1.x/user-guide/process-applications"},"pages":[{"title":"The Process Application class","href":"/1.x/user-guide/process-applications/the-process-application-class"},{"title":"The processes.xml Deployment Descriptor","href":"/1.x/user-guide/process-applications/the-processes-xml-deployment-descriptor"},{"title":"Process Application Event Listeners","href":"/1.x/user-guide/process-applications/process-application-event-listeners"},{"title":"Process Application Resource Access","href":"/1.x/user-guide/process-applications/process-application-resources"}]},{"group":"Runtime Container Integration","root":{"title":"Runtime Container Integration","href":"/1.x/user-guide/runtime-container-integration"},"pages":[{"title":"ASEE Flow Services","href":"/1.x/user-guide/runtime-container-integration/bpm-platform-services"},{"title":"JNDI Bindings for ASEE Flow Services","href":"/1.x/user-guide/runtime-container-integration/jndi-bindings-for-bpmn-platform-services"},{"title":"Apache Tomcat Integration","sidebarTitle":"Apache Tomcat","href":"/1.x/user-guide/runtime-container-integration/tomcat"},{"title":"The ASEE Flow WildFly Subsystem","sidebarTitle":"WildFly","href":"/1.x/user-guide/runtime-container-integration/jboss"},{"title":"Job Execution with Managed Resources","href":"/1.x/user-guide/runtime-container-integration/job-execution-with-managed-resources"}]},{"title":"ASEE Flow Run","href":"/1.x/user-guide/aseeflow-bpm-run"},{"group":"Spring Framework Integration","root":{"title":"Spring Framework Integration","sidebarTitle":"Overview","href":"/1.x/user-guide/spring-framework-integration"},"pages":[{"title":"Process Engine Configuration","sidebarTitle":"Bootstrapping","href":"/1.x/user-guide/spring-framework-integration/configuration"},{"title":"Spring Transaction Integration","sidebarTitle":"Transactions","href":"/1.x/user-guide/spring-framework-integration/transactions"},{"title":"Automatic Resource Deployment","sidebarTitle":"Deployment","href":"/1.x/user-guide/spring-framework-integration/deployment"},{"title":"Spring Beans in Processes","sidebarTitle":"Spring Bean Resolving","href":"/1.x/user-guide/spring-framework-integration/expressions"},{"title":"Spring-Based Testing","sidebarTitle":"Testing","href":"/1.x/user-guide/spring-framework-integration/testing"}]},{"group":"Spring Boot Integration","root":{"title":"Spring Boot Integration","sidebarTitle":"Overview","href":"/1.x/user-guide/spring-boot-integration"},"pages":[{"title":"Spring Boot Version Compatibility","sidebarTitle":"Version Compatibility","href":"/1.x/user-guide/spring-boot-integration/version-compatibility"},{"title":"Process Engine Configuration","sidebarTitle":"Configuration","href":"/1.x/user-guide/spring-boot-integration/configuration"},{"title":"REST API","href":"/1.x/user-guide/spring-boot-integration/rest-api"},{"title":"Web applications","sidebarTitle":"Web Applications","href":"/1.x/user-guide/spring-boot-integration/webapps"},{"title":"Process applications","sidebarTitle":"Process Applications","href":"/1.x/user-guide/spring-boot-integration/process-applications"},{"title":"Spring Eventing Bridge","href":"/1.x/user-guide/spring-boot-integration/the-spring-event-bridge"},{"title":"Developing and Testing Spring Boot Applications","sidebarTitle":"Developing and Testing","href":"/1.x/user-guide/spring-boot-integration/develop-and-test"},{"title":"Spring Security OAuth2 Integration","href":"/1.x/user-guide/spring-boot-integration/spring-security"}]},{"group":"Quarkus Integration","root":{"title":"Quarkus Integration","sidebarTitle":"Overview","href":"/1.x/user-guide/quarkus-integration"},"pages":[{"title":"Quarkus Version Compatibility","sidebarTitle":"Version Compatibility","href":"/1.x/user-guide/quarkus-integration/version-compatibility"},{"title":"Engine CDI Integration","href":"/1.x/user-guide/quarkus-integration/cdi-integration"},{"title":"Quarkus Extension Configuration","sidebarTitle":"Configuration","href":"/1.x/user-guide/quarkus-integration/configuration"},{"title":"Resource Deployments","href":"/1.x/user-guide/quarkus-integration/deployments"}]},{"group":"CDI and Java EE Integration","root":{"title":"CDI and Java EE Integration","sidebarTitle":"Overview","href":"/1.x/user-guide/cdi-java-ee-integration"},"pages":[{"title":"JTA Transaction Integration","href":"/1.x/user-guide/cdi-java-ee-integration/jta-transaction-integration"},{"title":"Expression Resolving","href":"/1.x/user-guide/cdi-java-ee-integration/expression-resolving"},{"title":"Contextual Programming Model","href":"/1.x/user-guide/cdi-java-ee-integration/contextual-programming-model"},{"title":"Built-In Beans","href":"/1.x/user-guide/cdi-java-ee-integration/built-in-beans"},{"title":"CDI Event Bridge","href":"/1.x/user-guide/cdi-java-ee-integration/the-cdi-event-bridge"}]},{"group":"Testing","root":{"title":"Testing","sidebarTitle":"Overview","href":"/1.x/user-guide/testing"},"pages":[{"title":"Assert Examples","href":"/1.x/user-guide/testing/assert-examples"}]},{"group":"Model API","root":{"title":"Model API","href":"/1.x/user-guide/model-api"},"pages":[{"group":"BPMN Model API","root":{"title":"BPMN Model API","href":"/1.x/user-guide/model-api/bpmn-model-api"},"pages":[{"title":"Read a Model","href":"/1.x/user-guide/model-api/bpmn-model-api/read-a-model"},{"title":"Create a Model","href":"/1.x/user-guide/model-api/bpmn-model-api/create-a-model"},{"title":"Delegation Code","href":"/1.x/user-guide/model-api/bpmn-model-api/delegation-code"},{"title":"Fluent Builder API","href":"/1.x/user-guide/model-api/bpmn-model-api/fluent-builder-api"},{"title":"Repository Service","href":"/1.x/user-guide/model-api/bpmn-model-api/respository-service"},{"title":"Extension Elements","href":"/1.x/user-guide/model-api/bpmn-model-api/extension-elements"}]},{"group":"CMMN Model API","root":{"title":"CMMN Model API","href":"/1.x/user-guide/model-api/cmmn-model-api"},"pages":[{"title":"Read a Model","href":"/1.x/user-guide/model-api/cmmn-model-api/read-a-model"},{"title":"Create a Model","href":"/1.x/user-guide/model-api/cmmn-model-api/create-a-model"},{"title":"Delegation Code","href":"/1.x/user-guide/model-api/cmmn-model-api/delegation-code"},{"title":"Repository Service","href":"/1.x/user-guide/model-api/cmmn-model-api/repository-service"},{"title":"Extension Elements","href":"/1.x/user-guide/model-api/cmmn-model-api/extension-elements"},{"title":"Limitations","href":"/1.x/user-guide/model-api/cmmn-model-api/limitations"}]},{"group":"DMN Model API","root":{"title":"DMN Model API","href":"/1.x/user-guide/model-api/dmn-model-api"},"pages":[{"title":"Read a Model","href":"/1.x/user-guide/model-api/dmn-model-api/read-a-model"},{"title":"Create a Model","href":"/1.x/user-guide/model-api/dmn-model-api/create-a-model"},{"title":"Repository Service","href":"/1.x/user-guide/model-api/dmn-model-api/repository-service"},{"title":"Extension Attributes","href":"/1.x/user-guide/model-api/dmn-model-api/extension-attributes"}]}]},{"group":"Data Formats (XML, JSON, Other)","root":{"title":"Data Formats (XML, JSON, Other)","sidebarTitle":"Overview","href":"/1.x/user-guide/data-formats"},"pages":[{"title":"Configuring Spin Integration","href":"/1.x/user-guide/data-formats/configuring-spin-integration"},{"title":"Data Formats in Processes","href":"/1.x/user-guide/data-formats/data-formats-in-processes"},{"title":"XML","href":"/1.x/user-guide/data-formats/xml"},{"title":"JSON","href":"/1.x/user-guide/data-formats/json"}]},{"group":"User Task Forms","root":{"title":"User Task Forms","sidebarTitle":"Overview","href":"/1.x/user-guide/task-forms"},"pages":[{"title":"JSF Task Forms","href":"/1.x/user-guide/task-forms/jsf-task-forms"}]},{"title":"Logging","href":"/1.x/user-guide/logging"},{"group":"DMN Engine","root":{"title":"DMN Engine","sidebarTitle":"Overview","href":"/1.x/user-guide/dmn-engine"},"pages":[{"title":"Embedding the DMN Engine","sidebarTitle":"Embed","href":"/1.x/user-guide/dmn-engine/embed"},{"title":"Evaluating Decisions using the DMN Engine API","sidebarTitle":"Evaluate Decisions","href":"/1.x/user-guide/dmn-engine/evaluate-decisions"},{"title":"Expressions in the DMN Engine","sidebarTitle":"Expressions","href":"/1.x/user-guide/dmn-engine/expressions-and-scripts"},{"group":"FEEL Engine","root":{"title":"FEEL Engine","sidebarTitle":"Overview","href":"/1.x/user-guide/dmn-engine/feel"},"pages":[{"title":"FEEL Engine Type Handling","sidebarTitle":"Type Handling","href":"/1.x/user-guide/dmn-engine/feel/type-handling"},{"title":"FEEL Engine Custom Functions","sidebarTitle":"Custom Functions","href":"/1.x/user-guide/dmn-engine/feel/custom-functions"},{"title":"FEEL Engine Spin Integration","sidebarTitle":"Spin Integration","href":"/1.x/user-guide/dmn-engine/feel/spin-integration"},{"title":"FEEL Engine Legacy Behavior","sidebarTitle":"Legacy Behavior","href":"/1.x/user-guide/dmn-engine/feel/legacy-behavior"}]},{"title":"Data Types in the DMN Engine","sidebarTitle":"Data Types","href":"/1.x/user-guide/dmn-engine/data-types"},{"title":"Testing Decisions with the DMN Engine","sidebarTitle":"Testing","href":"/1.x/user-guide/dmn-engine/testing"}]},{"title":"Security Instructions","href":"/1.x/user-guide/security"},{"group":"External Task Client","root":{"title":"External Task Client","sidebarTitle":"Overview","href":"/1.x/user-guide/ext-client"},"pages":[{"title":"External Task Client Spring Boot Starter","sidebarTitle":"Spring Boot Starter","href":"/1.x/user-guide/ext-client/spring-boot-starter"},{"title":"Version Compatibility","href":"/1.x/user-guide/ext-client/compatibility-matrix"}]}]}]},{"tab":"Reference","pages":[{"title":"Reference","href":"/1.x/reference"}]},{"tab":"Installation","pages":[{"title":"Installation","href":"/1.x/installation"}]},{"tab":"Modeler","pages":[{"title":"Modeler","href":"/1.x/modeler"}]},{"tab":"WebAdmin","pages":[{"title":"WebAdmin","href":"/1.x/webadmin"}]},{"tab":"Web Applications","pages":[{"title":"Web Applications","href":"/1.x/webapps"}]},{"tab":"Examples","pages":[{"title":"Examples","href":"/1.x/examples"}]},{"tab":"Update \u0026 Migration","pages":[{"title":"Update \u0026 Migration","href":"/1.x/update"}]},{"tab":"Security","pages":[{"title":"Security","href":"/1.x/security"}]}]}]},"basePath":"","title":"Authorization Service - ASEE Flow","deploymentId":"dpl_XLevHnGPjzxq9mbREha5Faad63Sp","buildId":"dpl_XLevHnGPjzxq9mbREha5Faad63Sp","dynamics":[],"chunks":[]}