summaryrefslogtreecommitdiff
path: root/lib/api/groups.rb
diff options
context:
space:
mode:
authorOswaldo Ferreira <oswaldo@gitlab.com>2017-04-10 16:22:48 -0300
committerOswaldo Ferreira <oswaldo@gitlab.com>2017-04-10 16:22:48 -0300
commitce4a50fcfb4167ffaba748140c87d2c9be8a59df (patch)
treec4c5873eb9d2cee37f14aecfc68517e11b0fa4fe /lib/api/groups.rb
parentfd32960e7c94bdc0db9704b5ec7661defdc488e3 (diff)
downloadgitlab-ce-ce4a50fcfb4167ffaba748140c87d2c9be8a59df.tar.gz
Add share_with_group_lock to CE optional params block28017-separate-ce-params-on-api
Diffstat (limited to 'lib/api/groups.rb')
-rw-r--r--lib/api/groups.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/api/groups.rb b/lib/api/groups.rb
index 073c0145cd8..09d105f6b4c 100644
--- a/lib/api/groups.rb
+++ b/lib/api/groups.rb
@@ -10,6 +10,7 @@ module API
optional :visibility, type: String, values: Gitlab::VisibilityLevel.string_values, desc: 'The visibility of the group'
optional :lfs_enabled, type: Boolean, desc: 'Enable/disable LFS for the projects in this group'
optional :request_access_enabled, type: Boolean, desc: 'Allow users to request member access'
+ optional :share_with_group_lock, type: Boolean, desc: 'Prevent sharing a project with another group within this group'
end
params :optional_params do