return from scanning if permission is not granted

parent 35ff3746
Pipeline #243 passed with stages
in 45 seconds