modify role rest controller for qa