class LightsPolicyAuthorizer < ApplicationAuthorizer
end

class LightsPolicyAuthorizer < ApplicationAuthorizer
  def self.creatable_by?(user)
    user.has_role?(:trusted_member) or user.has_role?(:board_member)
  end
end

Allow trusted members to change lights policy
Allow trusted members to change lights policy

Fixes https://github.com/initLab/initLab/issues/145
