# frozen_string_literal: true
class CommandEventPolicy < ApplicationPolicy
def show?
ProjectPolicy.new(user, record.project).show?
end
def update?
ProjectPolicy.new(user, record.project).update?