[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: Support character classes in glob authz rules

From: Doug Robinson <doug.robinson_at_wandisco.com>
Date: Fri, 14 Dec 2018 17:09:42 -0500

Brane:

I just read through this thread. Your proposal makes a lot of sense.
To me, it's one of those things that should go into a new version (not a
patch).
And there should be a nit-picky script to point out "strange stuff" (like
the example
that Julian posed).

Cheers.

Doug

On Mon, Dec 3, 2018 at 10:31 AM Branko Čibej <brane_at_apache.org> wrote:

> On 03.12.2018 16:07, Michael Pilato wrote:
> > On 12/3/18 3:15 AM, Julian Foad wrote:
> >> It makes me uncomfortable to depart from standard parsing. What if
> >> users are relying on Python ConfigParser or other compatible parsing
> >> as part of their Subversion authz infrastructure?
> > We needn't keep this hypothetical. ViewVC is using (a slightly
> > modified[*]) Python ConfigParser in this way.
> >
> > -- Mike
> >
> > [*] By default, ConfigParser (well, really the RawConfigParser it
> > subclasses) lowercases option names, which can cause username/group
> > matching to fail. So ViewVC's code replaces the optionxform method of
> > ConfigParser with a noop lambda function. (See
> >
> https://docs.python.org/2/library/configparser.html#ConfigParser.RawConfigParser.optionxform
> > for official docs.)
>
>
> Interesting. Of course, our ConfigParser-like implementation already has
> the option to treat section names as case-sensitive, and this option is
> used ... that's righjt, by the authz file parser.
>
> -- Brane
>
>

-- 
*DOUGLAS B ROBINSON* SENIOR PRODUCT MANAGER
T +1 925 396 1125
*E* doug.robinson_at_wandisco.com
-- 
* <http://wandisco.com>*
**The LIVE DATA Company
*Find out more 
*wandisco.com <http://wandisco.com/>*
 
<https://www.wandisco.com/welcome-live-data-world-video>
*
THIS MESSAGE 
AND ANY ATTACHMENTS ARE CONFIDENTIAL, PROPRIETARY AND MAY BE PRIVILEGED
If 
this message was misdirected, WANdisco, Inc. and its subsidiaries, 
("WANdisco") does not waive any confidentiality or privilege. If you are 
not the intended recipient, please notify us immediately and destroy the 
message without disclosing its contents to anyone. Any distribution, use or 
copying of this email or the information it contains by other than an 
intended recipient is unauthorized. The views and opinions expressed in 
this email message are the author's own and may not reflect the views and 
opinions of WANdisco, unless the author is authorized by WANdisco to 
express such views or opinions on its behalf. All email sent to or from 
this address is subject to electronic storage and review by WANdisco. 
Although WANdisco operates anti-virus programs, it does not accept 
responsibility for any damage whatsoever caused by viruses being passed.
Received on 2018-12-14 23:33:52 CET

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.