[PATCH] hg-ssh: more flexible permissions for hg-ssh
Mads Kiilerich
mads at kiilerich.com
Fri May 18 17:47:34 CDT 2012
David Schleimer wrote, On 05/18/2012 11:21 PM:
> # HG changeset patch
> # User David Schleimer<dschleimer at fb.com>
> # Date 1337376000 25200
> # Node ID cbfb26903ff5a57cc53e8abc5ca64a06c5fa0bb1
> # Parent 9acb5cd19162bdb1053429df9ce9a13c2d15aea8
> hg-ssh: more flexible permissions for hg-ssh
>
> This allows more flexible control over the permissions granted to a
> ssh key when using hg-ssh as the command in an authorized_keys file.
> Specifically, it allows you to restrict a key to read-only access, as
> well as allowing you to grant a key access to any repo, instead of
> needing to whitelist repos.
It is nice to see that the refactorings doesn't change anything in the
test suite output, but you might want to exercise/demonstrate the new
functionality in test-ssh.t to avoid future regressions.
/Mads
More information about the Mercurial-devel
mailing list