Package | Description |
---|---|
com.atlassian.confluence.api.impl.service.permissions | |
com.atlassian.confluence.api.model.people | |
com.atlassian.confluence.api.model.permissions |
Model objects for user and group permission and validation checks, for use with
OperationService . |
com.atlassian.confluence.api.service.permissions | |
com.atlassian.confluence.functest.rest.admin |
These REST resources are replacements for admin-level functest RPC calls and should only
be run by a sys-admin in a websudo session.
|
com.atlassian.confluence.functest.rest.admin.model | |
com.atlassian.confluence.pageobjects.component.dialog | |
com.atlassian.confluence.rest.client |
This package contains the code which communicates with Confluence via REST API.
|
Modifier and Type | Method and Description |
---|---|
void |
ContentRestrictionServiceImpl.addDirectRestrictionForSubject(ContentId contentId,
OperationKey operationKey,
Subject subject) |
void |
ContentRestrictionServiceImpl.deleteDirectRestrictionForSubject(ContentId contentId,
OperationKey operationKey,
Subject subject) |
protected @NonNull Optional<ContentPermission> |
ContentRestrictionServiceImpl.getPreExistingContentPermissionForSubject(@Nullable ContentEntityObject ceo,
@Nullable String permissionType,
@Nullable Subject subject)
Gets pre-existing
ContentPermission (singular, optional) for the Subject and OperationKey (as String permissionType) specified. |
boolean |
ContentRestrictionServiceImpl.hasDirectRestrictionForSubject(ContentId contentId,
OperationKey operationKey,
Subject subject) |
ValidationResult |
DefaultContentRestrictionServiceValidator.validateAddDirectRestrictionForSubject(ContentId contentId,
OperationKey operationKey,
Subject subject) |
ValidationResult |
DefaultContentRestrictionServiceValidator.validateDeleteDirectRestrictionForSubject(ContentId contentId,
OperationKey operationKey,
Subject subject) |
ValidationResult |
DefaultContentRestrictionServiceValidator.validateHasDirectRestrictionsForSubject(ContentId contentId,
OperationKey operationKey,
Subject subject) |
Modifier and Type | Class and Description |
---|---|
class |
Anonymous |
class |
Group
Represents a group that may contain zero or more users.
|
class |
KnownUser |
class |
Person |
class |
UnknownUser |
class |
User |
Modifier and Type | Method and Description |
---|---|
Map<SubjectType,PageResponse<Subject>> |
ContentRestriction.getRestrictions()
Presents information about the restriction in a form of
Map<SubjectType, PageResponse<Subject>> |
Modifier and Type | Method and Description |
---|---|
void |
ContentRestrictionService.addDirectRestrictionForSubject(ContentId contentId,
OperationKey operationKey,
Subject subject)
Adds singular direct
ContentRestriction for operationKey and subject to the content identified by contentId parameter. |
void |
ContentRestrictionService.deleteDirectRestrictionForSubject(ContentId contentId,
OperationKey operationKey,
Subject subject)
Deletes singular direct
ContentRestriction for operationKey and subject from the content identified by contentId parameter. |
boolean |
ContentRestrictionService.hasDirectRestrictionForSubject(ContentId contentId,
OperationKey operationKey,
Subject subject)
Returns
true if the User or Group specified by the subject parameter has restriction(s) for the operationKey operation
which are specified directly on the Content identified by contentId parameter. |
ValidationResult |
ContentRestrictionService.Validator.validateAddDirectRestrictionForSubject(ContentId contentId,
OperationKey operationKey,
Subject subject)
Validates that:
OperationKey supplied is supported
Subject supplied is either User or a Group and does exist
Content specified exists AND can be viewed by the currently logged-in user
Currently logged-in user is allowed to alter ContentRestrictions on and edit the content specified
|
ValidationResult |
ContentRestrictionService.Validator.validateDeleteDirectRestrictionForSubject(ContentId contentId,
OperationKey operationKey,
Subject subject)
Validates that:
OperationKey supplied is supported
Subject supplied is either User or a Group
Content specified exists AND can be viewed by the currently logged-in user
Currently logged-in user is allowed to alter ContentRestrictions on and edit the content specified
|
ValidationResult |
ContentRestrictionService.Validator.validateHasDirectRestrictionsForSubject(ContentId contentId,
OperationKey operationKey,
Subject subject)
Validates that:
OperationKey supplied is supported
Subject supplied is either User or a Group
Content specified exists AND can be viewed by the currently logged-in user
|
Modifier and Type | Method and Description |
---|---|
void |
PermissionsResource.revokeAllGlobalPermissions(Subject subject)
Revoke all global permissions for a group, user, or anonymous.
|
void |
PermissionsResource.revokeAllSpacePermissions(String spaceKey,
Subject subject)
Revoke all permissions on a space for a user, group or anonymous.
|
Modifier and Type | Method and Description |
---|---|
Subject |
SubjectPermissionChange.getSubject()
Get the subject whose permission is being changed
|
Modifier and Type | Method and Description |
---|---|
SubjectPermissionChange.Builder |
SubjectPermissionChange.Builder.subject(Subject subject) |
Modifier and Type | Method and Description |
---|---|
com.atlassian.pageobjects.elements.query.TimedQuery<Boolean> |
PageRestrictionsDialog.hasRestrictionTimed(Subject subject,
OperationKey operationKey)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
com.atlassian.util.concurrent.Promise<Void> |
RemoteContentRestrictionService.addDirectRestrictionForSubject(ContentId contentId,
OperationKey operationKey,
Subject subject)
Deprecated.
|
com.atlassian.util.concurrent.Promise<Void> |
RemoteContentRestrictionServiceImpl.addDirectRestrictionForSubject(ContentId contentId,
OperationKey operationKey,
Subject subject)
Deprecated.
|
CompletionStage<Void> |
RemoteContentRestrictionService.addDirectRestrictionForSubjectCompletionStage(ContentId contentId,
OperationKey operationKey,
Subject subject)
Adds singular direct
ContentRestriction for operationKey and subject to the content identified by contentId parameter. |
CompletionStage<Void> |
RemoteContentRestrictionServiceImpl.addDirectRestrictionForSubjectCompletionStage(ContentId contentId,
OperationKey operationKey,
Subject subject) |
com.atlassian.util.concurrent.Promise<Void> |
RemoteContentRestrictionService.deleteDirectRestrictionForSubject(ContentId contentId,
OperationKey operationKey,
Subject subject)
Deprecated.
|
com.atlassian.util.concurrent.Promise<Void> |
RemoteContentRestrictionServiceImpl.deleteDirectRestrictionForSubject(ContentId contentId,
OperationKey operationKey,
Subject subject)
Deprecated.
|
CompletionStage<Void> |
RemoteContentRestrictionService.deleteDirectRestrictionForSubjectCompletionStage(ContentId contentId,
OperationKey operationKey,
Subject subject)
Deletes singular direct
ContentRestriction for operationKey and subject from the content identified by contentId parameter. |
CompletionStage<Void> |
RemoteContentRestrictionServiceImpl.deleteDirectRestrictionForSubjectCompletionStage(ContentId contentId,
OperationKey operationKey,
Subject subject) |
com.atlassian.util.concurrent.Promise<Boolean> |
RemoteContentRestrictionService.hasDirectRestrictionForSubject(ContentId contentId,
OperationKey operationKey,
Subject subject)
Deprecated.
|
com.atlassian.util.concurrent.Promise<Boolean> |
RemoteContentRestrictionServiceImpl.hasDirectRestrictionForSubject(ContentId contentId,
OperationKey operationKey,
Subject subject)
Deprecated.
|
CompletionStage<Boolean> |
RemoteContentRestrictionService.hasDirectRestrictionForSubjectCompletionStage(ContentId contentId,
OperationKey operationKey,
Subject subject)
Returns
true if the User or Group specified by the subject parameter has restriction(s) for the operationKey operation
which are specified directly on the Content identified by contentId parameter. |
CompletionStage<Boolean> |
RemoteContentRestrictionServiceImpl.hasDirectRestrictionForSubjectCompletionStage(ContentId contentId,
OperationKey operationKey,
Subject subject) |
Copyright © 2003–2019 Atlassian. All rights reserved.