diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2020-11-29 09:09:27 +0000 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2020-11-29 09:09:27 +0000 |
commit | 518aebfe14a72ba08b5b0a528654805bb2d66cd3 (patch) | |
tree | 9e0147148b3c512d69ef941de6d25ae41fcbcfeb /app/helpers/groups | |
parent | 7ee1ce8d781f506180501c5eb07d1dfcfb8b2c6a (diff) | |
download | gitlab-ce-518aebfe14a72ba08b5b0a528654805bb2d66cd3.tar.gz |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'app/helpers/groups')
-rw-r--r-- | app/helpers/groups/group_members_helper.rb | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/app/helpers/groups/group_members_helper.rb b/app/helpers/groups/group_members_helper.rb index ee90585112b..adc9d85a384 100644 --- a/app/helpers/groups/group_members_helper.rb +++ b/app/helpers/groups/group_members_helper.rb @@ -26,7 +26,8 @@ module Groups::GroupMembersHelper { members: members_data_json(group, members), member_path: group_group_member_path(group, ':id'), - group_id: group.id + group_id: group.id, + can_manage_members: can?(current_user, :admin_group_member, group).to_s } end |