Re: [Issue 2662] authz with wildcards - About recursive access.
From: Luis Rodrigo Gallardo Cruz <rodrigo_at_nul-unu.com>
Date: 2007-11-15 19:42:43 CET
On Tue, Nov 13, 2007 at 04:55:55PM -0600, Luis Rodrigo Gallardo Cruz wrote:
I see I can't really punt this.
How about the following algorithm for determining tree access:
Given _path_:
2.1. Is _path_ a prefix of something that could match rule?
The idea is to avoid the potentialy expensive repo walk in 2.3
As for 2.1, is the following correct?
Given _glob_, _path_,
1. return true if glob matches path
-- Rodrigo Gallardo GPG-Fingerprint: 7C81 E60C 442E 8FBC D975 2F49 0199 8318 ADC9 BC28
|
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.