mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
FIX: everyone is not a visible group
This commit is contained in:
@@ -160,6 +160,7 @@ class Group < ActiveRecord::Base
|
||||
# the everyone group is special, it can include non-users so there is no
|
||||
# way to have the membership in a table
|
||||
if name == :everyone
|
||||
group.visible = false
|
||||
group.save!
|
||||
return group
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user