fixed role group define bug

Merged 晏 均 requested to merge 4.x into 4.1.x

Merge request reports