Law does not permit 'all-out' online ban: Turkish president