monotone-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Monotone-devel] new default get_netsync_*_permitted hooks


From: Timothy Brownawell
Subject: [Monotone-devel] new default get_netsync_*_permitted hooks
Date: Sun, 23 Oct 2005 14:02:43 -0500

Hi,

The get_netsync_*_permitted hooks now have default definitions, which
read $confdir/{read,write}-permissions .

write-permissions is a list of allowed keys, one per line, with
"--all--" meaning to allow access to everyone whose pubkey we have,
including anonymous readers.

read-permissions looks like

[net.example.project.security*]
[net.example.project.private*]
! --all--
address@hidden
address@hidden
[net.example.public*]
[net.example.project*]
--all--

where [something] is a wildcard that's matched against the branch.
"! key" means deny access, "--all--" means allow everyone access, and
"! --all--" means to stop looking if the key isn't mentioned in the
current section. More specific branch patterns should be at the top, if
there's a "[*]" it should be the last entry.

Thoughts in general, or for a better format for read-permissions?

Tim






reply via email to

[Prev in Thread] Current Thread [Next in Thread]