gerrit/gerrit-sshd
Luca Milanesio 17e14e8476 Propagate access path for SSH commands
Pass the right access path for the commands executed in Git
because of an incoming SSH connection:

- GIT for all Git/SSH commands
- SSH_COMMAND for everything else

Allow to honour force push ACL (and potentially other operations)
because of the correct propagation of the original identity
with the right access path.

Previously the code was setting the access path on SshScope.Context
which is stored in the ThreadLocal context of the receiving SSH command,
which is different from the other thread that execute the action.

Bug: Issue 9823
Change-Id: I2b9e1369e53a000457d4571ecf5e6d7ddf843827
2018-10-12 08:34:00 +00:00
..
src Propagate access path for SSH commands 2018-10-12 08:34:00 +00:00
BUILD Bump auto-value to 1.6.2 2018-08-01 22:35:35 +02:00