Module: Thredded::UserPermissions::Moderate::None
- Extended by:
- ActiveSupport::Concern
- Included in:
- NullUser
- Defined in:
- app/models/thredded/user_permissions/moderate/none.rb
Instance Method Summary collapse
-
#thredded_can_moderate_messageboard?(messageboard) ⇒ false
Whether the user can moderate the given messageboard.
-
#thredded_can_moderate_messageboards ⇒ ActiveRecord::Relation<Thredded::Messageboard>
Messageboards that the user can moderate.
Instance Method Details
#thredded_can_moderate_messageboard?(messageboard) ⇒ false
Returns Whether the user can moderate the given messageboard.
16 17 18 |
# File 'app/models/thredded/user_permissions/moderate/none.rb', line 16 def () # rubocop:disable Lint/UnusedMethodArgument false end |
#thredded_can_moderate_messageboards ⇒ ActiveRecord::Relation<Thredded::Messageboard>
Returns messageboards that the user can moderate.
10 11 12 |
# File 'app/models/thredded/user_permissions/moderate/none.rb', line 10 def Thredded::Messageboard.none end |