Commit 61712437 authored by Ryan Cobb's avatar Ryan Cobb

Remove read_environment check for deployments

parent 5655d7cb
# frozen_string_literal: true # frozen_string_literal: true
class Projects::DeploymentsController < Projects::ApplicationController class Projects::DeploymentsController < Projects::ApplicationController
before_action :authorize_read_environment!
before_action :authorize_read_deployment! before_action :authorize_read_deployment!
# rubocop: disable CodeReuse/ActiveRecord # rubocop: disable CodeReuse/ActiveRecord
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment