Sha256: c8d31afcc1fae8e448ab7db596ffa8b6d570b6af1bbbe588d8762a6c7ba4b131
Contents?: true
Size: 510 Bytes
Versions: 23
Compression:
Stored size: 510 Bytes
Contents
# frozen_string_literal: true module Thredded module UserPermissions module Message module ReadersOfWriteableBoards # @return [ActiveRecord::Relation<Thredded.user_class>] the users this user can include in a private topic def thredded_can_message_users # By default, return everyone who can read the messageboards this user can post in Thredded.user_class.thredded_messageboards_readers(thredded_can_write_messageboards) end end end end end
Version data entries
23 entries across 23 versions & 1 rubygems