mirror of
https://github.com/discourse/discourse.git
synced 2024-11-29 04:03:57 -06:00
88359b0f16
There are 5 visibility levels (similar to group visibility) public (default) logged-in users members only staff owners Admins & group owners always have visibility to group members.
8 lines
210 B
Ruby
8 lines
210 B
Ruby
# frozen_string_literal: true
|
|
|
|
class AddMembersVisibilityLevelToGroups < ActiveRecord::Migration[5.2]
|
|
def change
|
|
add_column :groups, :members_visibility_level, :integer, default: 0, null: false
|
|
end
|
|
end
|