Sha256: 193db4d1231b3d62386c633b99c5920fa5b2fa0b5c54e0ff3e7ca7164bec44da
Contents?: true
Size: 310 Bytes
Versions: 12
Compression:
Stored size: 310 Bytes
Contents
# frozen_string_literal: true module Thredded class MessageboardGroupPolicy # @param user [Thredded.user_class] # @param group [Thredded::MessageboardGroup] def initialize(user, group) @user = user @group = group end def create? @user.thredded_admin? end end end
Version data entries
12 entries across 12 versions & 1 rubygems