[PATCH 1 of 2] acl: use of "!" prefix in user or group names

Matt Mackall mpm at selenic.com
Wed May 30 15:48:42 CDT 2012


On Mon, 2012-05-28 at 20:21 -0300, elifarley at gmail.com wrote:
> # HG changeset patch
> # User Elifarley Callado Coelho Cruz
> # Date 1338245115 10800
> # Node ID bca172b9bcb52a54d6c7b1a2c8d70f1b290efe1a
> # Parent  e9ae770eff1c5728eb397e0bd413af6b93e78a5f
> acl: use of "!" prefix in user or group names
> 
> The "!" prefix allows you to prevent anyone except a given user or group
> to push changesets in a given branch or path.
> 
> This patch enables a use case suggested by a user (Julien Bonnet):
> There's a branch that only a given user (or group) should be able to push
> to, and you don't want to restrict access to any other branch that may be
> created.
> 
> With the "!" prefix, you simply deny access to "!givenuser" (or "!@givengroup").
> Configuration examples below:

No end-user docs.

-- 
Mathematics is the supreme nostalgia of our time.




More information about the Mercurial-devel mailing list