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

Re: Programmatically verify user is logged in?

From: Ben Collins-Sussman <sussman_at_collab.net>
Date: 2005-03-06 02:43:50 CET

On Mar 3, 2005, at 10:16 PM, Chris Schanck wrote:

> We use svn inside another set of scripts -- python to be exact. One of
> the problems we run into is that the script cannot easily tell or
> enforce that the user has write access to the repository before an svn
> command is executed.
> Is there an (easy|portable|fast) way to check if the user has
> authenticated?

Subversion isn't like CVS; the client doesn't "log in". Instead, the
server either sends a challenge, or it doesn't. The client only
authenticates when the server prompts.

I have to admit that I don't understand. What does it mean for a
script to "enforce that a user has write access to a repository"?
Access control is something controlled by the server, and the policies
are created server-side. No script can force the client to "log in"...
the client just responds when the server prompts.

To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Sun Mar 6 02:46:19 2005

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

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