summaryrefslogtreecommitdiff
path: root/app/views/shared
diff options
context:
space:
mode:
authorPhil Hughes <me@iamphill.com>2017-02-16 09:34:13 +0000
committerPhil Hughes <me@iamphill.com>2017-02-16 09:40:38 +0000
commit3894ae3bd07550bef632068f6d5296144099f619 (patch)
tree9ed20600dac7f7ccbe4e41dcacb63a0f3e9f1391 /app/views/shared
parent93ae3063ad0455a0bd6b9994f718d20357a31e28 (diff)
downloadgitlab-ce-3894ae3bd07550bef632068f6d5296144099f619.tar.gz
Added ability to change user permissions in group to ownergroup-memebrs-owner-level
Closes #28233
Diffstat (limited to 'app/views/shared')
-rw-r--r--app/views/shared/members/_member.html.haml2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/shared/members/_member.html.haml b/app/views/shared/members/_member.html.haml
index 239387fc9fa..8e721c9c8dd 100644
--- a/app/views/shared/members/_member.html.haml
+++ b/app/views/shared/members/_member.html.haml
@@ -61,7 +61,7 @@
= dropdown_title("Change permissions")
.dropdown-content
%ul
- - Gitlab::Access.options.each do |role, role_id|
+ - member.class.access_level_roles.each do |role, role_id|
%li
= link_to role, "javascript:void(0)",
class: ("is-active" if member.access_level == role_id),