summaryrefslogtreecommitdiff
path: root/lib/api/entities.rb
diff options
context:
space:
mode:
authorImre Farkas <ifarkas@gitlab.com>2019-07-17 07:20:17 +0000
committerJames Lopez <james@gitlab.com>2019-07-17 07:20:17 +0000
commit7aa1d17475e677fc47af450d033a781cfe505aa6 (patch)
treeaa9eea4cd67befc868c9f9a354635ba4146b1e5e /lib/api/entities.rb
parent1574d2839fa9a4258e28af92ed0c5c07df424161 (diff)
downloadgitlab-ce-7aa1d17475e677fc47af450d033a781cfe505aa6.tar.gz
CE port of "Move external authorization service API management to EE"
EE MR: https://gitlab.com/gitlab-org/gitlab-ee/merge_requests/14598
Diffstat (limited to 'lib/api/entities.rb')
-rw-r--r--lib/api/entities.rb1
1 files changed, 0 insertions, 1 deletions
diff --git a/lib/api/entities.rb b/lib/api/entities.rb
index 0a9515f1dd2..494da770279 100644
--- a/lib/api/entities.rb
+++ b/lib/api/entities.rb
@@ -294,7 +294,6 @@ module API
expose :statistics, using: 'API::Entities::ProjectStatistics', if: -> (project, options) {
options[:statistics] && Ability.allowed?(options[:current_user], :read_statistics, project)
}
- expose :external_authorization_classification_label
expose :auto_devops_enabled?, as: :auto_devops_enabled
expose :auto_devops_deploy_strategy do |project, options|
project.auto_devops.nil? ? 'continuous' : project.auto_devops.deploy_strategy