| Package | Description |
|---|---|
| com.atlassian.confluence.api.impl.service.permissions | |
| com.atlassian.confluence.api.model.permissions |
Model objects for user and group permission and validation checks, for use with
OperationService. |
| com.atlassian.confluence.api.model.permissions.spi |
SPI for implementing pluggable permission and validation checks, for use with
OperationService. |
| com.atlassian.confluence.api.service.permissions |
| Modifier and Type | Method and Description |
|---|---|
@NonNull Map<Target,ValidationResult> |
OperationServiceImpl.canPerform(Person person,
Operation operation,
Iterable<Target> targets)
Checks if the given user is able to perform the specified operation on the specified targets.
|
@NonNull ValidationResult |
OperationServiceImpl.canPerform(Person person,
Operation operation,
Target target)
Checks if the given user is able to perform the specified operation on the specified target.
|
@NonNull Map<Target,ValidationResult> |
OperationServiceImpl.canPerformWithoutExemptions(Person person,
Operation operation,
Iterable<Target> targets) |
@NonNull ValidationResult |
OperationServiceImpl.canPerformWithoutExemptions(Person person,
Operation operation,
Target target) |
| Modifier and Type | Class and Description |
|---|---|
class |
OperationCheckResult
The result of an operation check on a specific
Target. |
class |
OperationDescription
Describes an
{operation, targetType} combination that the operations APIs can answer queries for. |
class |
OperationKey
An OperationKey is used to identify operations that can be performed on Targets.
|
| Modifier and Type | Interface and Description |
|---|---|
interface |
OperationCheck
A permission and validation check, for use with
OperationService. |
| Modifier and Type | Class and Description |
|---|---|
class |
BaseOperationCheck
Base class for implementing
OperationChecks. |
| Modifier and Type | Method and Description |
|---|---|
@NonNull Map<Target,ValidationResult> |
OperationService.canPerform(Person person,
Operation operation,
Iterable<Target> targets)
Check whether the specified Person can perform a particular operation on each of the specified targets.
|
@NonNull ValidationResult |
OperationService.canPerform(Person person,
Operation operation,
Target target)
Check whether a person can perform a particular operation on a particular target.
|
@NonNull Map<Target,ValidationResult> |
OperationService.canPerformWithoutExemptions(Person person,
Operation operation,
Iterable<Target> targets)
Check whether the specified Person can perform a particular operation on each of the specified targets.
|
@NonNull ValidationResult |
OperationService.canPerformWithoutExemptions(Person person,
Operation operation,
Target target)
Check whether a person can perform a particular operation on a particular target.
|
Copyright © 2003–2021 Atlassian. All rights reserved.