Welcome to mirror list, hosted at ThFree Co, Russian Federation.

organizations_controller.rb « organizations « controllers « app - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 88c6c9b3cef82e371a8ca3b082d16ef934109d9e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# frozen_string_literal: true

module Organizations
  class OrganizationsController < ApplicationController
    feature_category :cell

    skip_before_action :authenticate_user!, except: [:index, :new]

    def index; end

    def new
      authorize_create_organization!
    end

    def show
      authorize_read_organization!
    end

    def groups_and_projects
      authorize_read_organization!
    end
  end
end