[Top][All Lists]
[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
- [Monotone-devel] new default get_netsync_*_permitted hooks,
Timothy Brownawell <=
- [Monotone-devel] Re: new default get_netsync_*_permitted hooks, Wim Oudshoorn, 2005/10/23
- Re: [Monotone-devel] Re: new default get_netsync_*_permitted hooks, Timothy Brownawell, 2005/10/23
- [Monotone-devel] Re: new default get_netsync_*_permitted hooks, Wim Oudshoorn, 2005/10/23
- Re: [Monotone-devel] Re: new default get_netsync_*_permitted hooks, Timothy Brownawell, 2005/10/23
- Re: [Monotone-devel] Re: new default get_netsync_*_permitted hooks, Richard Levitte - VMS Whacker, 2005/10/23
- Re: [Monotone-devel] Re: new default get_netsync_*_permitted hooks, Timothy Brownawell, 2005/10/23
- Re: [Monotone-devel] Re: new default get_netsync_*_permitted hooks, Timothy Brownawell, 2005/10/25
- Re: [Monotone-devel] Re: new default get_netsync_*_permitted hooks, Nathaniel Smith, 2005/10/26
- [Monotone-devel] Re: new default get_netsync_*_permitted hooks, Bruce Stephens, 2005/10/26
Re: [Monotone-devel] new default get_netsync_*_permitted hooks, Richard Levitte - VMS Whacker, 2005/10/23