#305 Display permissions in editors as labels

We also fixed a bug in edit.php