Uses of Interface
com.atlassian.confluence.api.model.people.Subject
-
Packages that use Subject 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 withOperationService
.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.selenium3.component.dialog com.atlassian.confluence.rest.client This package contains the code which communicates with Confluence via REST API. -
-
Uses of Subject in com.atlassian.confluence.api.impl.service.permissions
Methods in com.atlassian.confluence.api.impl.service.permissions with parameters of type Subject Modifier and Type Method 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-existingContentPermission
(singular, optional) for theSubject
andOperationKey
(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)
-
Uses of Subject in com.atlassian.confluence.api.model.people
Classes in com.atlassian.confluence.api.model.people that implement Subject Modifier and Type Class Description class
Anonymous
class
Group
Represents a group that may contain zero or more users.class
KnownUser
class
Person
class
UnknownUser
class
User
-
Uses of Subject in com.atlassian.confluence.api.model.permissions
Methods in com.atlassian.confluence.api.model.permissions that return types with arguments of type Subject Modifier and Type Method Description Map<SubjectType,PageResponse<Subject>>
ContentRestriction. getRestrictions()
Presents information about the restriction in a form ofMap<SubjectType, PageResponse<Subject>>
Method parameters in com.atlassian.confluence.api.model.permissions with type arguments of type Subject Modifier and Type Method Description ContentRestriction.ContentRestrictionBuilder
ContentRestriction.ContentRestrictionBuilder. restrictions(@Nullable Map<SubjectType,PageResponse<Subject>> restrictions)
-
Uses of Subject in com.atlassian.confluence.api.service.permissions
Methods in com.atlassian.confluence.api.service.permissions with parameters of type Subject Modifier and Type Method Description void
ContentRestrictionService. addDirectRestrictionForSubject(ContentId contentId, OperationKey operationKey, Subject subject)
Adds singular directContentRestriction
foroperationKey
andsubject
to the content identified bycontentId
parameter.void
ContentRestrictionService. deleteDirectRestrictionForSubject(ContentId contentId, OperationKey operationKey, Subject subject)
Deletes singular directContentRestriction
foroperationKey
andsubject
from the content identified bycontentId
parameter.boolean
ContentRestrictionService. hasDirectRestrictionForSubject(ContentId contentId, OperationKey operationKey, Subject subject)
Returnstrue
if the User or Group specified by thesubject
parameter has restriction(s) for theoperationKey
operation which are specified directly on the Content identified bycontentId
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 specifiedValidationResult
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 specifiedValidationResult
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 -
Uses of Subject in com.atlassian.confluence.functest.rest.admin
Methods in com.atlassian.confluence.functest.rest.admin with parameters of type Subject Modifier and Type Method 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. -
Uses of Subject in com.atlassian.confluence.functest.rest.admin.model
Methods in com.atlassian.confluence.functest.rest.admin.model that return Subject Modifier and Type Method Description Subject
SubjectPermissionChange. getSubject()
Get the subject whose permission is being changedMethods in com.atlassian.confluence.functest.rest.admin.model with parameters of type Subject Modifier and Type Method Description SubjectPermissionChange.Builder
SubjectPermissionChange.Builder. subject(Subject subject)
-
Uses of Subject in com.atlassian.confluence.pageobjects.selenium3.component.dialog
Methods in com.atlassian.confluence.pageobjects.selenium3.component.dialog with parameters of type Subject Modifier and Type Method Description com.atlassian.pageobjects.elements.query.TimedQuery<Boolean>
PageRestrictionsDialog. hasRestrictionTimed(Subject subject, OperationKey operationKey)
Deprecated. -
Uses of Subject in com.atlassian.confluence.rest.client
Methods in com.atlassian.confluence.rest.client with parameters of type Subject Modifier and Type Method Description com.atlassian.util.concurrent.Promise<Void>
RemoteContentRestrictionService. addDirectRestrictionForSubject(ContentId contentId, OperationKey operationKey, Subject subject)
Deprecated.since 7.0.1.com.atlassian.util.concurrent.Promise<Void>
RemoteContentRestrictionServiceImpl. addDirectRestrictionForSubject(ContentId contentId, OperationKey operationKey, Subject subject)
Deprecated.since 7.0.1.CompletionStage<Void>
RemoteContentRestrictionService. addDirectRestrictionForSubjectCompletionStage(ContentId contentId, OperationKey operationKey, Subject subject)
Adds singular directContentRestriction
foroperationKey
andsubject
to the content identified bycontentId
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.since 7.0.1.com.atlassian.util.concurrent.Promise<Void>
RemoteContentRestrictionServiceImpl. deleteDirectRestrictionForSubject(ContentId contentId, OperationKey operationKey, Subject subject)
Deprecated.since 7.0.1.CompletionStage<Void>
RemoteContentRestrictionService. deleteDirectRestrictionForSubjectCompletionStage(ContentId contentId, OperationKey operationKey, Subject subject)
Deletes singular directContentRestriction
foroperationKey
andsubject
from the content identified bycontentId
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.since 7.0.1.com.atlassian.util.concurrent.Promise<Boolean>
RemoteContentRestrictionServiceImpl. hasDirectRestrictionForSubject(ContentId contentId, OperationKey operationKey, Subject subject)
Deprecated.since 7.0.1.CompletionStage<Boolean>
RemoteContentRestrictionService. hasDirectRestrictionForSubjectCompletionStage(ContentId contentId, OperationKey operationKey, Subject subject)
Returnstrue
if the User or Group specified by thesubject
parameter has restriction(s) for theoperationKey
operation which are specified directly on the Content identified bycontentId
parameter.CompletionStage<Boolean>
RemoteContentRestrictionServiceImpl. hasDirectRestrictionForSubjectCompletionStage(ContentId contentId, OperationKey operationKey, Subject subject)
-