data role check and data grid refine