Edit roles by cap: capability should be a requried field. #6991