• Igor Drozdov's avatar
    Forbid public cache for private repos · 7ceb8f05
    Igor Drozdov authored
    When project is public but the repository is private, we don't
    want to cache it as public. In this case, anybody will be able
    to see the cached version of the private content during 60s
    after an eligible user has viewed it.
    7ceb8f05
repositories_controller_spec.rb 8.72 KB