Modify role index auth method.