Haven't tried it yet, but I just read the docs at the link you provided and I think this is exactly what I need.
I should be able to write a script that modifies the authz-windowz file to add lines such as: [2009spring:/cs101/0001/jonb] jonb = rw That would in effect only allow permissions on those directories. Many thanks!!! Morgan On Jan 8, 8:52 am, "VisualSVN Support" <[email protected]> wrote: > Hi Morgan! > > >Is there any way for me to automate the granting of read/ > > write privileges for a Windows user to a specific directory within a > repository on a VisualSVN server, i.e. through some sort of command > line interface? > > No, there is no such tool in VisualSVN Server. > > By architecture the core Subversion doesn't contain any functionality > related to the authorization and authentication. That's why it is > impossible to add users directly from svn or svnadmin. > > You could use authz-windows (something like > "C:\Repositories\authz-windowz") file for setting permissions. > VisualSVN Server uses standard format, you could find more > information > here:http://svnbook.red-bean.com/en/1.5/svn.serverconfig.pathbasedauthz.html. > > > > On Sun, Jan 4, 2009 at 9:25 PM, mcbenton <[email protected]> wrote: > > > I teach programming in college and am using VisualSVN server to manage > > my students' programs and also to teach them about version control. > > I'm running VSVN on a Win2K8 server and using built-in Windows > > authentication. > > > My approach is to set up a single repository for the semester and > > create folders within it for each course, for each section, and for > > each student, e.g. > > > -Repositories > > --2009spring > > ---cs101 > > ----0001 > > -----jonb > > -----billc > > -----sueg > > ----0004 > > -----gregw > > -----bobj > > ---cs201 > > ----0003 > > -----fredk > > --2008fall > > > I'm using a powershell script to generate Windows user accounts for > > all the students, and then create an SVN directory for each in the > > appropriate semester-course-section repository, e.g. > > > # powershell command to create a new Windows user > > ([ADSI]"WinNT://myserver").add("user","jonb") > > ... > > # svn command to create a folder for user jonb > > svn mkdirhttps://myserver:8443/svn/2009spring/cs101/0001/jonb-m > > "create folder for jonb" > > > My question: Is there any way for me to automate the granting of read/ > > write privileges for a Windows user to a specific directory within a > > repository on a VisualSVN server, i.e. through some sort of command > > line interface? > > > I know how to do this through GUI admin tool, but obviously that will > > get tedious for the many student accounts I'll be creating. > > > Thanks! > > Morgan > > -- > Olga Dolidze > VisualSVN Support

