Restrict role codelist in edit mode (#61).