Module: Thredded::UserPermissions::Message::ReadersOfWriteableBoards
- Included in:
- NullUser, Thredded::UserExtender
- Defined in:
- app/models/thredded/user_permissions/message/readers_of_writeable_boards.rb
Instance Method Summary collapse
-
#thredded_can_message_users ⇒ ActiveRecord::Relation<Thredded.user_class>
The users this user can include in a private topic.
Instance Method Details
#thredded_can_message_users ⇒ ActiveRecord::Relation<Thredded.user_class>
Returns the users this user can include in a private topic.
8 9 10 11 |
# File 'app/models/thredded/user_permissions/message/readers_of_writeable_boards.rb', line 8 def # By default, return everyone who can read the messageboards this user can post in Thredded.user_class.() end |