• Reuben Pereira's avatar
    ContainerRepositoriesFinder now checks container registry visibility · 38335946
    Reuben Pereira authored
    Wherever container_registry_enabled is being checked, we need to
    update it to check the actor's permissions as well.
    
    This is because we are migrating towards using
    container_registry_access_level which allows for different users to
    have different visibility of the container registry.
    
    This commit updates 2 locations where container_registry_enabled
    is being checked.
    - ContainerRepositoriesFinder
    - PackagesHelper
    
    Changelog: changed
    38335946
container_repositories_finder.rb 1.09 KB