Interface ArtifactPermissionService

All Known Implementing Classes:
ArtifactPermissionServiceImpl

@Internal public interface ArtifactPermissionService
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    hasReadPermission(long artifactId)
    Checks whether a permission is granted to read an Artifact
    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
  • Method Details

    • hasReadPermission

      boolean hasReadPermission(@NotNull @NotNull Artifact artifact, @Nullable @Nullable org.acegisecurity.Authentication authentication)
      Checks whether a permission is granted to read an Artifact
    • hasReadPermission

      boolean hasReadPermission(@NotNull @NotNull Artifact artifact)
      Checks whether a permission is granted to read an Artifact
    • hasReadPermission

      boolean hasReadPermission(long artifactId)
      Checks whether a permission is granted to read an Artifact