diff --git a/app/controllers/groups_controller.rb b/app/controllers/groups_controller.rb index 778ddd6082c6..85384f3b0cab 100644 --- a/app/controllers/groups_controller.rb +++ b/app/controllers/groups_controller.rb @@ -155,7 +155,8 @@ def group_members end def visible_group_members? - current_user.allowed_in_any_project?(:manage_members) || + current_user.admin? || + current_user.allowed_in_any_project?(:manage_members) || Group.in_project(Project.allowed_to(current_user, :view_members)).exists? end