Commit c4a34a48 authored by Serena Fang's avatar Serena Fang

Return all group member count if minimal access allowed

parent 149fdb79
...@@ -431,7 +431,7 @@ module EE ...@@ -431,7 +431,7 @@ module EE
override :users_count override :users_count
def users_count def users_count
return all_group_members.count unless minimal_access_role_allowed? return all_group_members.count if minimal_access_role_allowed?
members.count members.count
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