Uses of Interface
ch.ivyteam.ivy.security.IRole
Package
Description
-
Uses of IRole in ch.ivyteam.ivy.bpm.engine.client
Modifier and TypeMethodDescriptionSelects an active task by the activator roleSessionChooser.anonymousWithRole
(IRole role) Execute the request as anonymous session but with the given role assignedExecute the request as the given role -
Uses of IRole in ch.ivyteam.ivy.bpm.engine.client.sub
Modifier and TypeMethodDescriptionSubSessionChooser.anonymousWithRole
(IRole role) Execute the request as anonymous session but with the given role assignedExecute the request as the given role -
Uses of IRole in ch.ivyteam.ivy.security
Modifier and TypeMethodDescriptionIRole.findChildRole
(String roleName) Finds the child role with it's nameDeprecated, for removal: This API element is subject to removal in a future version.IRole.getParent()
Returns the parent roleIPermissionAccess.getPermissionHolder()
Gets the permission holder.IUserSubstitute.getSubstitutionRole()
Gets the substitution roleISecurityContext.getTopLevelRole()
Deprecated, for removal: This API element is subject to removal in a future version.instead useISecurityContext.roles()
.topLevel())
Modifier and TypeMethodDescriptionISecurityContext.getActiveRoles()
Deprecated, for removal: This API element is subject to removal in a future version.instead useISecurityContext.roles()
.active()
IUser.getAllRoles()
Get all roles the user owns (directly and indirectly)IRole.getChildRoles()
Returns the child rolesIRole.getRoleMembers()
Gets all direct role members of this role.IRole.getRoles()
Gets the directly owned roles.ISecurityContext.getRoles()
Deprecated, for removal: This API element is subject to removal in a future version.instead useISecurityContext.roles()
.all()
IUser.getRoles()
Get roles the user owns directModifier and TypeMethodDescriptionvoid
Add a role the user can act asvoid
IRole.addRoleMember
(IRole role) Adds the given role as role member of this role.boolean
Tests if the user of this user token currently owns any the given roles.void
ISession.assignRole
(IRole role) Assigns a role to the session.IUser.createSubstitute
(IUser mySubstitute, IRole forThisRole, String description) Creates a new substitute for a specific role.boolean
Test if the user of this user token currently owns a role.boolean
Checks whether this or any parent role is equal with the role givenvoid
IUser.removeRole
(IRole role) Remove a role the user can act asvoid
IRole.removeRoleMember
(IRole role) Removes the given member role from this role.boolean
Tests if the user of this user token currently owns the given role.boolean
Tests if the user of this user token currently owns all the given roles.Modifier and TypeMethodDescriptionboolean
IRoleMatcher.anyRoles
(Collection<IRole> roles) Tests if the user of this user token currently owns any of the given roles.boolean
IRoleMatcher.roles
(Collection<IRole> roles) Tests if the user of this user token currently owns all the given roles. -
Uses of IRole in ch.ivyteam.ivy.security.query
Modifier and TypeMethodDescriptionFilters users which has the givenrole
.UserQuery.IFilterableColumns.hasRoleAssigned
(IRole role) Filters users which has the givenrole
directly assigned. -
Uses of IRole in ch.ivyteam.ivy.security.role
Modifier and TypeMethodDescriptionCreates a new role.Creates a new role.Finds a role by its nameFinds a role by its idIRoleRepository.topLevel()
-
Uses of IRole in ch.ivyteam.ivy.workflow
Modifier and TypeMethodDescriptionIWorkflowSession.findInvolvedCasesByRole
(List<IRole> roles, IPropertyFilter<CaseProperty> filter, List<PropertyOrder<CaseProperty>> order, int startIndex, int count, boolean returnAllCount) Finds cases in which the session user is involved.IWorkflowSession.findStartedCasesByRole
(List<IRole> roles, IPropertyFilter<CaseProperty> filter, List<PropertyOrder<CaseProperty>> order, int startIndex, int count, boolean returnAllCount) Gets all cases somebody has started who needs a role to start the case which the current session user also owns.IWorkflowSession.findWorkedOnTasksByRole
(List<IRole> roles, IPropertyFilter<TaskProperty> filter, List<PropertyOrder<TaskProperty>> order, int startIndex, int count, boolean returnAllCount) Returns all tasks the session user has worked on or could have worked on as member of the given roles. -
Uses of IRole in ch.ivyteam.ivy.workflow.query
Modifier and TypeMethodDescriptionCaseQuery.FilterQuery.roleCanWorkOn
(IRole role) CaseQuery.IFilterableColumns.roleCanWorkOn
(IRole role) Filters all cases where the role can work on at least one task.CaseQuery.FilterQuery.roleIsInvolved
(IRole role) CaseQuery.IFilterableColumns.roleIsInvolved
(IRole role) Filters all cases the role is involved in.TaskQuery.FilterQuery.roleIsInvolved
(IRole role) TaskQuery.IFilterableColumns.roleIsInvolved
(IRole role) Filters all tasks the role is involved in. -
Uses of IRole in ch.ivyteam.ivy.workflow.task
ISecurityContext.roles()
.find(roleName)
Migration Example:
ivy.session().getSecurityContext().findRole("ivy")
==>ivy.security.roles().find("ivy")