Our new (much faster) Subversion server now allows all reads to be
anonymous, just like our Mercurial server -- SSL or not.  The only way
to get an authn challenge is to do a write request.  Maybe you could
do something simple like a remote modification of a revision-property.
 For example, you could create a "changeme" property on revision 0,
and attempt to change the value by doing an 'svn propset --revprop -r0
changeme newvalue'.



On Sun, May 16, 2010 at 5:30 PM, Jack Bates <[email protected]> wrote:
> How can we test whether a user has permission to commit to our
> project?
>
> I wrote an Apache "authn" handler to control access to our master
> Subversion repository based on whether a user is a committer to our
> Google project hosting project - I describe it in this blog post,
> http://jdbates.blogspot.com/2009/12/although-we-use-google-project-hosting.html
>
> The "authn" handler tests whether a user has permission to commit to
> our project by requesting https://archivematica.googlecode.com/svn/
> with the provided username and password - if the response status code
> is 200 OK then the username and password match and the user is a
> committer
>
> - or at least that's how it used to work - recently I noticed that the
> response status code is now always 200 OK, whether the user is a
> committer or not
>
> How can we now test whether a user has permission to commit to our
> project? so we can continue to control access to our master Subversion
> repository based on whether a user is a committer to our Google
> project hosting project?
>
> --
> You received this message because you are subscribed to the Google Groups 
> "Project Hosting on Google Code" group.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to 
> [email protected].
> For more options, visit this group at 
> http://groups.google.com/group/google-code-hosting?hl=en.
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Project Hosting on Google Code" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/google-code-hosting?hl=en.

Reply via email to