Wait_for_permission2