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

Re: Query for SVN api for admin functionality in java program

From: Marc Haisenko <haisenko_at_comdasys.com>
Date: Mon, 21 Jul 2008 10:03:01 +0200

On Monday 21 July 2008, Gaurav Sharma wrote:
> Hello ,
>
> I want to write a *java program* to "*create new SVN user*" with a "*new
> Project in SVN*" and implements acesss restriction on that user so that he
> can "access only that project" in SVN repository...so can you plz guide me
> how i can achieve this ...I have searched a lot in various API like
> *SVNKit*etc...but none provide anything related with admin
> feature.....so kindly
> suggest me if any API is available to achieve this ....
>
> Thanks & Regards ,
> Gaurav Sharma

Wow, IMHO using Java for that job is like trying to shoot a ladybug with a
huge canon :-)

Anyway, what you want is a pre-commit hook. See the book:
http://svnbook.red-bean.com/en/1.4/svn.reposadmin.create.html#svn.reposadmin.create.hooks

Bye,
        Marc

-- 
Marc Haisenko
Comdasys AG
Rüdesheimer Str. 7
80686 München
Germany
Tel.: +49 (0)89 548 433 321
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe_at_subversion.tigris.org
For additional commands, e-mail: users-help_at_subversion.tigris.org
Received on 2008-07-21 10:03:26 CEST

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.