correctly check if can edit event