diff options
author | Rémy Coutable <remy@rymai.me> | 2017-04-12 09:26:16 +0000 |
---|---|---|
committer | Rémy Coutable <remy@rymai.me> | 2017-04-12 09:26:16 +0000 |
commit | 59f81b4ff80862fb7649eba461ba588d6cfee9ec (patch) | |
tree | cbcdf0feb8ebac576a43cfc5595ffa20118b80a1 /spec/policies | |
parent | c43f7d4713a719d7090d7ec5fbe4a36d233282ad (diff) | |
parent | 0424f3fa73259719ecb409eeafaf732b74739916 (diff) | |
download | gitlab-ce-59f81b4ff80862fb7649eba461ba588d6cfee9ec.tar.gz |
Merge branch 'siemens/gitlab-ce-fix/subgroup-hide-button' into 'master'
Hide new subgroup button if user has no permission to create one
Closes #30139
See merge request !10627
Diffstat (limited to 'spec/policies')
-rw-r--r-- | spec/policies/group_policy_spec.rb | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/spec/policies/group_policy_spec.rb b/spec/policies/group_policy_spec.rb index 5c34ff04152..2077c14ff7a 100644 --- a/spec/policies/group_policy_spec.rb +++ b/spec/policies/group_policy_spec.rb @@ -22,7 +22,8 @@ describe GroupPolicy, models: true do :admin_group, :admin_namespace, :admin_group_member, - :change_visibility_level + :change_visibility_level, + :create_subgroup ] end |