Package | Description |
---|---|
com.almworks.jira.structure.api.permissions | |
com.almworks.jira.structure.api.structure |
This package features
StructureManager service,
which is used to create structures and change their properties (but not the forest), and
Structure interface, which represents structures. |
com.almworks.jira.structure.api.util | |
com.almworks.jira.structure.api.view |
Modifier and Type | Class and Description |
---|---|
static class |
PermissionRule.ApplyStructure
This rules applies a list of rules taken from a Structure, identified by the structure ID.
|
static class |
PermissionRule.SetLevel
This rule sets the permission level to a specific value in case the user matches
PermissionSubject . |
Modifier and Type | Method and Description |
---|---|
PermissionRule |
PermissionRule.clone() |
static PermissionRule |
PermissionRule.fromEncodedString(String s)
Restores permission rule from its encoded String form.
|
static PermissionRule |
PermissionRule.fromEncodedString(String s,
boolean usersAsUserNames)
Restores permission rule from its encoded String form.
|
Modifier and Type | Method and Description |
---|---|
static List<PermissionRule> |
PermissionRule.decodePermissions(String s)
Utility method to decode a list of
PermissionRule s. |
Modifier and Type | Method and Description |
---|---|
abstract PermissionLevel |
PermissionRule.apply(ApplicationUser user,
PermissionLevel pass,
List<Object> callStack,
La<Long,List<PermissionRule>> resolver)
Apply permission rule and return the result.
|
PermissionLevel |
PermissionRule.ApplyStructure.apply(ApplicationUser user,
PermissionLevel pass,
List<Object> callStack,
La<Long,List<PermissionRule>> resolver) |
PermissionLevel |
PermissionRule.SetLevel.apply(ApplicationUser user,
PermissionLevel pass,
List<Object> callStack,
La<Long,List<PermissionRule>> resolver) |
static String |
PermissionRule.encodePermissions(List<PermissionRule> permissions)
Utility method to encode a list of
PermissionRule s. |
Modifier and Type | Method and Description |
---|---|
List<PermissionRule> |
Structure.getPermissions()
Returns a list of permissions for this structure.
|
Modifier and Type | Method and Description |
---|---|
Structure |
Structure.setPermissions(Collection<? extends PermissionRule> permissions)
Sets the permission rules for this structure.
|
Modifier and Type | Method and Description |
---|---|
static List<PermissionRule> |
StructureUtil.copyPermissions(Collection<? extends PermissionRule> permissions) |
static List<PermissionRule> |
StructureUtil.copyPermissionsOrNull(Collection<? extends PermissionRule> permissions) |
Modifier and Type | Method and Description |
---|---|
static PermissionLevel |
StructureUtil.applyPermissions(List<PermissionRule> permissions,
ApplicationUser user,
List<Object> stack,
La<Long,List<PermissionRule>> resolver,
PermissionLevel pass) |
static PermissionLevel |
StructureUtil.applyPermissions(List<PermissionRule> permissions,
ApplicationUser user,
List<Object> stack,
La<Long,List<PermissionRule>> resolver,
PermissionLevel pass) |
static List<PermissionRule> |
StructureUtil.copyPermissions(Collection<? extends PermissionRule> permissions) |
static List<PermissionRule> |
StructureUtil.copyPermissionsOrNull(Collection<? extends PermissionRule> permissions) |
Modifier and Type | Method and Description |
---|---|
List<PermissionRule> |
StructureViewBean.getPermissions() |
List<PermissionRule> |
StructureViewBean.Builder.getPermissions() |
List<PermissionRule> |
StructureView.getPermissions()
Used to get permissions rules that are used to calculate user's access level.
|
Modifier and Type | Method and Description |
---|---|
void |
StructureViewBean.Builder.setPermissions(Collection<? extends PermissionRule> permissions)
Sets the permission rules.
|
StructureView |
StructureView.setPermissions(Collection<? extends PermissionRule> permissions)
Sets the permission rules for this view.
|
Copyright © 2024 Tempo Software. All Rights Reserved.