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

Re: Proposal: mod_authz_svn to get an option to inform clients that resource 'cannot be written to'

From: Paul Hammant <paul_at_hammant.org>
Date: Wed, 19 Jul 2017 11:25:22 -0400

So maybe the header added to HTTP GETs of resources would be:

    resource-is-not-modifiable-by-you: true

*In the absence of this new feature of Subversion*

I'm going to have to encode something verbose in the repo itself as hidden
files:

    <repo-URL>/.sync/server-settings/users/<username>/readonly-masks.txt

And I would generate those masks from dav_svn.authz for that user (on the
server side). The file would be Globbing/regex-ish, of course.

Regards,

- Paul
Received on 2017-07-19 17:25:27 CEST

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