Well from Indian side, don't need to tell, from Pakistan side, as usual, no need to tell for whom it is
No, it has been designed as Multi-role capability in mind.
Its range is less, no doubt, but have you guys seen how many Indian air bases and targets are from Pakistani air bases or from the border ?? I believe i had read somewhere, all the major air bases which are Pakistan specific and ground targets are within 300-400KM range of the border, thus JF-17 can very easily go and attack such targets if required. Even if it can't go 300KM deep, it can very easily target things within 200-250KM from the border and plenty of targets would be there.
JF-17 was designed with India in mind, thus it can perform an interceptor role as well as a ground attack role.
Plus, for deep strike role there would be F-16s & FC-20s.
And yeah, the initial batch would be for ground attack role as primary objective as they are replacing 2 Sqds of ground attack A-5 fighter, while air 2 air would be as secondary role till the more capable 2nd batch starts coming in which would be purely for air 2 air role and ground attack role too, the pure multi-role version.