summaryrefslogtreecommitdiff
path: root/app/controllers/projects/google_cloud_controller.rb
blob: d185457aeb386a61a6e6d172965de1ab0214d316 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
# frozen_string_literal: true

class Projects::GoogleCloudController < Projects::ApplicationController
  before_action :authorize_can_manage_google_cloud_deployments!

  feature_category :release_orchestration

  def index
  end

  private

  def authorize_can_manage_google_cloud_deployments!
    access_denied! unless can?(current_user, :manage_project_google_cloud, project)
  end
end