public class ArtifactPermissionServiceImpl extends Object implements ArtifactPermissionService
Constructor and Description |
---|
ArtifactPermissionServiceImpl(CachedPlanManager cachedPlanManager,
DeploymentProjectService deploymentProjectService,
BambooPermissionManager bambooPermissionManager) |
Modifier and Type | Method and Description |
---|---|
boolean |
hasReadPermission(@NotNull Artifact artifact)
Checks whether a permission is granted to read an
Artifact |
boolean |
hasReadPermission(@NotNull Artifact artifact,
@Nullable org.acegisecurity.Authentication authentication)
Checks whether a permission is granted to read an
Artifact |
public ArtifactPermissionServiceImpl(CachedPlanManager cachedPlanManager, DeploymentProjectService deploymentProjectService, BambooPermissionManager bambooPermissionManager)
public boolean hasReadPermission(@NotNull @NotNull Artifact artifact, @Nullable @Nullable org.acegisecurity.Authentication authentication)
ArtifactPermissionService
Artifact
hasReadPermission
in interface ArtifactPermissionService
public boolean hasReadPermission(@NotNull @NotNull Artifact artifact)
ArtifactPermissionService
Artifact
hasReadPermission
in interface ArtifactPermissionService
Copyright © 2022 Atlassian Software Systems Pty Ltd. All rights reserved.