mirror of
https://gh.wpcy.net/https://github.com/discourse/discourse.git
synced 2026-05-07 02:22:49 +08:00
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.
7 lines
210 B
Ruby
7 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
|