diff options
author | Robin Bobbitt <ryehle@us.ibm.com> | 2017-07-31 17:34:47 -0400 |
---|---|---|
committer | Robin Bobbitt <ryehle@us.ibm.com> | 2017-08-11 12:22:37 -0400 |
commit | 649d042dbc9e2bfda96bb98b0eabd4b00ea2daff (patch) | |
tree | 515865c4aadfcb2cda51501ac5c8cd664d805708 /lib | |
parent | 7633945c27891aa84c45735f14535462b8a54641 (diff) | |
download | gitlab-ce-649d042dbc9e2bfda96bb98b0eabd4b00ea2daff.tar.gz |
Add option to disable project export on instance
Diffstat (limited to 'lib')
-rw-r--r-- | lib/api/settings.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/api/settings.rb b/lib/api/settings.rb index d55a61fa638..667ba468ce6 100644 --- a/lib/api/settings.rb +++ b/lib/api/settings.rb @@ -29,6 +29,7 @@ module API desc: 'Enabled sources for code import during project creation. OmniAuth must be configured for GitHub, Bitbucket, and GitLab.com' optional :disabled_oauth_sign_in_sources, type: Array[String], desc: 'Disable certain OAuth sign-in sources' optional :enabled_git_access_protocol, type: String, values: %w[ssh http nil], desc: 'Allow only the selected protocols to be used for Git access.' + optional :project_export_enabled, type: Boolean, desc: 'Enable project export' optional :gravatar_enabled, type: Boolean, desc: 'Flag indicating if the Gravatar service is enabled' optional :default_projects_limit, type: Integer, desc: 'The maximum number of personal projects' optional :max_attachment_size, type: Integer, desc: 'Maximum attachment size in MB' |