Commit 4a140a14 authored by GitLab Bot's avatar GitLab Bot

Automatic merge of gitlab-org/gitlab-ce master

parents fb4cf887 61c1509c
......@@ -54,6 +54,7 @@ class GroupPolicy < BasePolicy
rule { has_projects }.policy do
enable :read_group
enable :read_list
enable :read_label
end
......
---
title: Fix error when viewing group issue boards when user doesn't have explicit group
permissions
merge_request: 25524
author:
type: fixed
......@@ -84,7 +84,7 @@ describe GroupPolicy do
end
it do
expect_allowed(:read_group, :read_label)
expect_allowed(:read_group, :read_list, :read_label)
end
context 'in subgroups', :nested_groups do
......@@ -92,7 +92,7 @@ describe GroupPolicy do
let(:project) { create(:project, namespace: subgroup) }
it do
expect_allowed(:read_group, :read_label)
expect_allowed(:read_group, :read_list, :read_label)
end
end
end
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment