blob: cff767c8efd449d9af285baa86358ed91ccd7b0f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
# frozen_string_literal: true
module Groups
module Harbor
class ApplicationController < Groups::ApplicationController
layout 'group'
include ::Harbor::Access
private
def authorize_read_harbor_registry!
render_404 unless can?(current_user, :read_harbor_registry, @group)
end
end
end
end
|