Uses of Interface
org.camunda.bpm.engine.authorization.Permission
-
-
Uses of Permission in org.camunda.bpm.cockpit.plugin.resource
Methods in org.camunda.bpm.cockpit.plugin.resource with parameters of type Permission Modifier and Type Method Description protected void
AbstractCockpitPluginResource. addPermissionCheck(QueryParameters query, Resource resource, String queryParam, Permission permission)
Add a newPermissionCheck
with the given values.protected boolean
AbstractCockpitPluginResource. isPermissionDisabled(Permission permission)
-
Uses of Permission in org.camunda.bpm.engine
Methods in org.camunda.bpm.engine with parameters of type Permission Modifier and Type Method Description boolean
AuthorizationService. isUserAuthorized(String userId, List<String> groupIds, Permission permission, Resource resource)
Allows performing an authorization check.boolean
AuthorizationService. isUserAuthorized(String userId, List<String> groupIds, Permission permission, Resource resource, String resourceId)
Allows performing an authorization check. -
Uses of Permission in org.camunda.bpm.engine.authorization
Classes in org.camunda.bpm.engine.authorization that implement Permission Modifier and Type Class Description class
BatchPermissions
The set of built-inPermissions
forBatch operations
in Camunda Platform.class
HistoricProcessInstancePermissions
The set of built-inPermissions
forHistoric Process Instance
in Camunda Platform.class
HistoricTaskPermissions
The set of built-inPermissions
forHistoric Task
in Camunda Platform.class
OptimizePermissions
Deprecated.These permissions have no effectclass
Permissions
The set of built-inPermissions
for Camunda Platform.class
ProcessDefinitionPermissions
The set of built-inPermissions
forProcess definition
in Camunda Platform.class
ProcessInstancePermissions
The set of built-inPermissions
forProcess instances
in Camunda Platform.class
SystemPermissions
class
TaskPermissions
The set of built-inPermissions
forTask
in Camunda Platform.class
UserOperationLogCategoryPermissions
The set of built-inPermissions
forUser operation log based on categories
in Camunda Platform.Methods in org.camunda.bpm.engine.authorization that return Permission Modifier and Type Method Description static Permission
BatchPermissions. forName(String name)
static Permission
Permissions. forName(String name)
Permission[]
Authorization. getPermissions(Permission[] permissions)
Allows checking whether this authorization grants / revokes a set of permissions.Methods in org.camunda.bpm.engine.authorization with parameters of type Permission Modifier and Type Method Description void
Authorization. addPermission(Permission permission)
allows granting a permission.Permission[]
Authorization. getPermissions(Permission[] permissions)
Allows checking whether this authorization grants / revokes a set of permissions.AuthorizationQuery
AuthorizationQuery. hasPermission(Permission permission)
only selects authorizations which grant the permissions represented by the parameter.boolean
Authorization. isPermissionGranted(Permission permission)
Allows checking whether this authorization grants a specific permission.boolean
Authorization. isPermissionRevoked(Permission permission)
Allows checking whether this authorization revokes a specific permission.void
Authorization. removePermission(Permission permission)
allows removing a permission.void
Authorization. setPermissions(Permission[] permissions)
Sets the permissions to the provided value. -
Uses of Permission in org.camunda.bpm.engine.impl
Methods in org.camunda.bpm.engine.impl with parameters of type Permission Modifier and Type Method Description AuthorizationQuery
AuthorizationQueryImpl. hasPermission(Permission p)
boolean
AuthorizationServiceImpl. isUserAuthorized(String userId, List<String> groupIds, Permission permission, Resource resource)
boolean
AuthorizationServiceImpl. isUserAuthorized(String userId, List<String> groupIds, Permission permission, Resource resource, String resourceId)
-
Uses of Permission in org.camunda.bpm.engine.impl.batch.builder
Fields in org.camunda.bpm.engine.impl.batch.builder declared as Permission Modifier and Type Field Description protected Permission
BatchBuilder. permission
Methods in org.camunda.bpm.engine.impl.batch.builder with parameters of type Permission Modifier and Type Method Description BatchBuilder
BatchBuilder. permission(Permission permission)
-
Uses of Permission in org.camunda.bpm.engine.impl.cfg
Fields in org.camunda.bpm.engine.impl.cfg declared as Permission Modifier and Type Field Description protected Permission
ProcessEngineConfigurationImpl. defaultUserPermissionForTask
Methods in org.camunda.bpm.engine.impl.cfg that return Permission Modifier and Type Method Description Permission
ProcessEngineConfigurationImpl. getDefaultUserPermissionForTask()
Methods in org.camunda.bpm.engine.impl.cfg with parameters of type Permission Modifier and Type Method Description void
CommandChecker. checkCreateBatch(Permission permission)
Check if it is allowed to create a batchProcessEngineConfigurationImpl
ProcessEngineConfigurationImpl. setDefaultUserPermissionForTask(Permission defaultUserPermissionForTask)
-
Uses of Permission in org.camunda.bpm.engine.impl.cfg.auth
Methods in org.camunda.bpm.engine.impl.cfg.auth that return Permission Modifier and Type Method Description protected Permission
DefaultAuthorizationProvider. getDefaultUserPermissionForTask()
protected Permission[]
DefaultAuthorizationProvider. getHistoricPermissions(boolean enforceSpecificVariablePermission)
Permission
DefaultPermissionProvider. getPermissionForName(String name, int resourceType)
Permission
PermissionProvider. getPermissionForName(String name, int resourceType)
Gets the permission related to the name and resource typePermission[]
DefaultPermissionProvider. getPermissionsForResource(int resourceType)
Permission[]
PermissionProvider. getPermissionsForResource(int resourceType)
Gets all permissions possible for the resource typeprotected Permission[]
DefaultAuthorizationProvider. getRuntimePermissions(boolean enforceSpecificVariablePermission)
Methods in org.camunda.bpm.engine.impl.cfg.auth with parameters of type Permission Modifier and Type Method Description protected void
DefaultAuthorizationProvider. addPermissions(AuthorizationEntity authorization, Permission... permissions)
void
AuthorizationCommandChecker. checkCreateBatch(Permission permission)
protected void
AuthorizationCommandChecker. checkTaskPermission(TaskEntity task, Permission processDefinitionPermission, Permission taskPermission)
protected AuthorizationEntity
DefaultAuthorizationProvider. createAuthorization(String userId, String groupId, Resource resource, String resourceId, Permission... permissions)
protected AuthorizationEntity
DefaultAuthorizationProvider. createGrantAuthorization(String userId, String groupId, Resource resource, String resourceId, Permission... permissions)
protected AuthorizationEntity
DefaultAuthorizationProvider. createOrUpdateAuthorization(Task task, String userId, String groupId, Resource resource, boolean isHistoric, Permission... permissions)
-
Uses of Permission in org.camunda.bpm.engine.impl.cfg.multitenancy
Methods in org.camunda.bpm.engine.impl.cfg.multitenancy with parameters of type Permission Modifier and Type Method Description void
TenantCommandChecker. checkCreateBatch(Permission permission)
-
Uses of Permission in org.camunda.bpm.engine.impl.cmd
Fields in org.camunda.bpm.engine.impl.cmd declared as Permission Modifier and Type Field Description protected Permission
AuthorizationCheckCmd. permission
Methods in org.camunda.bpm.engine.impl.cmd with parameters of type Permission Modifier and Type Method Description protected void
AuthorizationCheckCmd. validate(String userId, List<String> groupIds, Permission permission, Resource resource)
Constructors in org.camunda.bpm.engine.impl.cmd with parameters of type Permission Constructor Description AuthorizationCheckCmd(String userId, List<String> groupIds, Permission permission, Resource resource, String resourceId)
-
Uses of Permission in org.camunda.bpm.engine.impl.db
Fields in org.camunda.bpm.engine.impl.db declared as Permission Modifier and Type Field Description protected Permission
PermissionCheck. permission
the permission to check forMethods in org.camunda.bpm.engine.impl.db that return Permission Modifier and Type Method Description Permission
PermissionCheck. getPermission()
Methods in org.camunda.bpm.engine.impl.db with parameters of type Permission Modifier and Type Method Description PermissionCheckBuilder
PermissionCheckBuilder. atomicCheck(Resource resource, String queryParam, Permission permission)
PermissionCheckBuilder
PermissionCheckBuilder. atomicCheckForResourceId(Resource resource, String resourceId, Permission permission)
boolean
PermissionCheckBuilder. isPermissionDisabled(Permission permission)
void
PermissionCheck. setPermission(Permission permission)
-
Uses of Permission in org.camunda.bpm.engine.impl.identity.db
Methods in org.camunda.bpm.engine.impl.identity.db with parameters of type Permission Modifier and Type Method Description protected void
DbReadOnlyIdentityServiceProvider. checkAuthorization(Permission permission, Resource resource, String resourceId)
-
Uses of Permission in org.camunda.bpm.engine.impl.persistence
Methods in org.camunda.bpm.engine.impl.persistence with parameters of type Permission Modifier and Type Method Description protected void
AbstractManager. checkAuthorization(Permission permission, Resource resource, String resourceId)
-
Uses of Permission in org.camunda.bpm.engine.impl.persistence.entity
Methods in org.camunda.bpm.engine.impl.persistence.entity that return Permission Modifier and Type Method Description Permission[]
AuthorizationEntity. getPermissions(Permission[] permissions)
Methods in org.camunda.bpm.engine.impl.persistence.entity that return types with arguments of type Permission Modifier and Type Method Description Set<Permission>
AuthorizationEntity. getCachedPermissions()
Methods in org.camunda.bpm.engine.impl.persistence.entity with parameters of type Permission Modifier and Type Method Description void
AuthorizationEntity. addPermission(Permission p)
void
AuthorizationManager. checkAuthorization(Permission permission, Resource resource)
void
AuthorizationManager. checkAuthorization(Permission permission, Resource resource, String resourceId)
void
AuthorizationManager. configureQuery(AbstractQuery query, Resource resource, String queryParam, Permission permission)
Permission[]
AuthorizationEntity. getPermissions(Permission[] permissions)
boolean
AuthorizationManager. isAuthorized(String userId, List<String> groupIds, Permission permission, Resource resource, String resourceId)
boolean
AuthorizationManager. isAuthorized(Permission permission, Resource resource, String resourceId)
boolean
AuthorizationManager. isPermissionDisabled(Permission permission)
boolean
AuthorizationEntity. isPermissionGranted(Permission p)
boolean
AuthorizationEntity. isPermissionRevoked(Permission p)
void
AuthorizationEntity. removePermission(Permission p)
void
AuthorizationEntity. setPermissions(Permission[] permissions)
-
Uses of Permission in org.camunda.bpm.engine.impl.persistence.entity.util
Fields in org.camunda.bpm.engine.impl.persistence.entity.util declared as Permission Modifier and Type Field Description protected Permission
AuthManagerUtil.VariablePermissions. historicTaskPermission
protected Permission
AuthManagerUtil.VariablePermissions. processDefinitionPermission
Methods in org.camunda.bpm.engine.impl.persistence.entity.util that return Permission Modifier and Type Method Description Permission
AuthManagerUtil.VariablePermissions. getHistoricTaskPermission()
Permission
AuthManagerUtil.VariablePermissions. getProcessDefinitionPermission()
-
Uses of Permission in org.camunda.bpm.engine.impl.util
Fields in org.camunda.bpm.engine.impl.util with type parameters of type Permission Modifier and Type Field Description protected static Map<Integer,Class<? extends Enum<? extends Permission>>>
ResourceTypeUtil. PERMISSION_ENUMS
A map containing allResources
as a key and the respectivePermission
Enum class for this resource.Methods in org.camunda.bpm.engine.impl.util that return Permission Modifier and Type Method Description static Permission
ResourceTypeUtil. getPermissionByNameAndResourceType(String permissionName, int resourceType)
Currently used only in the Rest API Returns aPermission
based on the specifiedpermissionName
andresourceType
static Permission[]
ResourceTypeUtil. getPermissionsByResourceType(int givenResourceType)
Retrieves thePermission
array based on the predifinedPERMISSION_ENUMS
static Permission[]
PermissionConverter. getPermissionsForNames(String[] names, int resourceType, ProcessEngineConfiguration engineConfiguration)
Methods in org.camunda.bpm.engine.impl.util that return types with arguments of type Permission Modifier and Type Method Description static Map<Integer,Class<? extends Enum<? extends Permission>>>
ResourceTypeUtil. getPermissionEnums()
Methods in org.camunda.bpm.engine.impl.util with parameters of type Permission Modifier and Type Method Description static String[]
PermissionConverter. getNamesForPermissions(Authorization authorization, Permission[] permissions)
-
Uses of Permission in org.camunda.bpm.engine.rest.impl
Methods in org.camunda.bpm.engine.rest.impl with parameters of type Permission Modifier and Type Method Description protected boolean
AbstractAuthorizedRestResource. isAuthorized(Permission permission)
protected boolean
AbstractAuthorizedRestResource. isAuthorized(Permission permission, Resource resource)
protected boolean
AbstractAuthorizedRestResource. isAuthorized(Permission permission, Resource resource, String resourceId)
-
Uses of Permission in org.camunda.bpm.identity.impl.ldap
Methods in org.camunda.bpm.identity.impl.ldap with parameters of type Permission Modifier and Type Method Description protected boolean
LdapIdentityProviderSession. isAuthorized(Permission permission, Resource resource, String resourceId)
-
Uses of Permission in org.camunda.bpm.qa.performance.engine.junit
Methods in org.camunda.bpm.qa.performance.engine.junit with parameters of type Permission Modifier and Type Method Description protected void
AuthorizationPerformanceTestCase. grouptGrant(String groupId, Resource resource, Permission... perms)
protected void
AuthorizationPerformanceTestCase. userGrant(String userId, Resource resource, Permission... perms)
-
Uses of Permission in org.camunda.bpm.qa.rolling.update.scenarios.authorization
Methods in org.camunda.bpm.qa.rolling.update.scenarios.authorization with parameters of type Permission Modifier and Type Method Description protected static Authorization
AuthorizationScenario. createAuthorization(AuthorizationService authorizationService, Permission permission, Resources resource, String userId)
-