Set and Permission edit functionality