[PATCH] hgweb: add support for extension provided check_perm hooks

Dirkjan Ochtman dirkjan at ochtman.nl
Thu Nov 19 08:07:10 CST 2009


On Wed, Nov 18, 2009 at 12:59, Sune Foldager <cryo at cyanite.org> wrote:
> # HG changeset patch
> # User Sune Foldager <cryo at cyanite.org>
> # Date 1258545507 -3600
> # Node ID 4972dbf67dd91ed33819beca3b191bab2d30d05e
> # Parent  d266aa7606ce82fa926a1d3389453d7cb7b8f200
> hgweb: add support for extension provided check_perm hooks
>
> This allows extensions to hook into permission checking in a slightly
> less low-level way (e.g. replacing hgweb.check_perm).

I think the idea is basically sane, though I'm not so sure about the
naming and placement of these. Let's discuss that later, in IRC or
something.

Cheers,

Dirkjan


More information about the Mercurial-devel mailing list