Sha256: cd96cf63f6ba925fd03413f62ac6fca8876ee98ff37d40bb75b26556647a4a81

Contents?: true

Size: 374 Bytes

Versions: 31

Compression:

Stored size: 374 Bytes

Contents

# frozen_string_literal: true

module Thredded
  module UserPermissions
    module Write
      module All
        extend ActiveSupport::Concern

        # @return [ActiveRecord::Relation<Thredded::Messageboard>] messageboards that the user can post in
        def thredded_can_write_messageboards
          Thredded::Messageboard.all
        end
      end
    end
  end
end

Version data entries

31 entries across 31 versions & 2 rubygems

Version Path
thredded-1.1.0 app/models/thredded/user_permissions/write/all.rb
thredded-1.0.1 app/models/thredded/user_permissions/write/all.rb
thredded-1.0.0 app/models/thredded/user_permissions/write/all.rb
thredded-0.16.16 app/models/thredded/user_permissions/write/all.rb
thredded-0.16.15 app/models/thredded/user_permissions/write/all.rb
thredded-0.16.14 app/models/thredded/user_permissions/write/all.rb
thredded-0.16.13 app/models/thredded/user_permissions/write/all.rb
thredded-0.16.12 app/models/thredded/user_permissions/write/all.rb
thredded-0.16.11 app/models/thredded/user_permissions/write/all.rb
thredded-0.16.10 app/models/thredded/user_permissions/write/all.rb
thredded-0.16.9 app/models/thredded/user_permissions/write/all.rb
thredded-0.16.8 app/models/thredded/user_permissions/write/all.rb
thredded-0.16.7 app/models/thredded/user_permissions/write/all.rb
thredded-0.16.6 app/models/thredded/user_permissions/write/all.rb
thredded-0.16.5 app/models/thredded/user_permissions/write/all.rb
thredded-0.16.4 app/models/thredded/user_permissions/write/all.rb
thredded-0.16.3 app/models/thredded/user_permissions/write/all.rb
thredded-0.16.1 app/models/thredded/user_permissions/write/all.rb
thredded-0.16.0 app/models/thredded/user_permissions/write/all.rb
thredded-0.15.5 app/models/thredded/user_permissions/write/all.rb