Are more permission types going to be added on here? If not, I'd probably use an `if` instead.