On Wed, Sep 28, 2011 at 10:41 PM, Grant <emailgr...@gmail.com> wrote:
> I see that subversion supports path-based authorization:
>
> http://svnbook.red-bean.com/en/1.5/svn.serverconfig.pathbasedauthz.html
>
> Is there a way to do file-based authorization?  Or maybe some sort of
> trickery to mimic file-based authorization?  If not, can anyone think
> of a way to allow read/write access to only certain files in a working
> system?  I could use chmod/chown but the files to which access is
> allowed will be changing pretty frequently so it would be nice to have
> accessible files defined in a list as part of the version control
> system, file transport mechanism, or anything else.

Files are paths too.  The path-based authz applies to any path (folder
or file).  For example:

[repos:/trunk/readme.txt]
@releng = rw
* = r

A rule like that works fine.

-- 
Thanks

Mark Phippard
http://markphip.blogspot.com/

Reply via email to