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(Artifact artifact)
Checks whether a permission is granted to read an
Artifact |
boolean |
hasReadPermission(Artifact artifact,
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 Artifact artifact, @Nullable org.acegisecurity.Authentication authentication)
ArtifactPermissionService
Artifact
hasReadPermission
in interface ArtifactPermissionService
public boolean hasReadPermission(@NotNull Artifact artifact)
ArtifactPermissionService
Artifact
hasReadPermission
in interface ArtifactPermissionService
Copyright © 2017 Atlassian Software Systems Pty Ltd. All rights reserved.