Add author permissions also when cloning existing permissions

1 job for acl in 30 seconds (queued for 1 second)
Status Job ID Name Coverage
failed #36831
allowed to fail


Name Stage Failure
code_quality Test
Skipping Git submodules setup
$ export SP_VERSION=$(echo "$CI_SERVER_VERSION" | sed 's/^\([0-9]*\)\.\([0-9]*\).*/\1-\2-stable/')
$ docker run --env SOURCE_CODE="$PWD" --volume "$PWD":/code --volume /var/run/docker.sock:/var/run/docker.sock "$SP_VERSION" /code
docker: Cannot connect to the Docker daemon at tcp://docker:2375. Is the docker daemon running?.
See 'docker run --help'.
Uploading artifacts...
WARNING: gl-code-quality-report.json: no matching files
ERROR: No files to upload
ERROR: Job failed: exit code 125