Change permissions input to checkbox