Menu

Using SVN admin

Help
Rob Brandt
2011-08-20
2013-05-02
  • Rob Brandt

    Rob Brandt - 2011-08-20

    Is there any documentation for this module?  I have it installed and it appears to be working but my users don't have access.  I had a working repository prior to installation, but I do not now.  It would be really helpful if you could provide some sample files showing a working repository with the user, group, permgroup and the regex for svn path all filled out.  I do not know what the permission group is for, as it seems that the SVN Groups is what's seen by the repository.

    Thanks!

     
  • Andreas B

    Andreas B - 2011-08-22

    Hi robbrandt

    1) See the Helpfile on my module
    2) RTFM for SVN with Webaccess

    But OK, i will explane how the specified files are working for.

    My Module based of one config directory for all repositories (like /etc/opt/CollabNet_Subversion/conf/)!!

    The "svn_auth_file" contains the SVN Useraccounts and the passwords like the /etc/passwd.
    The "svn_access_file" contains the mapping for SVN Groups and User AND the Access mapping for each repository and their directorys.
    The "user|group|permsgroup|repo|info.txt" is designed by me. Each file stores the mapping for the item and cleartext info.
    The "svnperms.conf" includes the accessrights for add, remove and update for each repository subdirectory.

    Example:

    svn_auth_file

    User_A:nvd3FobhhGgg
    User_B:nvd3Fo5544gg
    User_C:3456Fo5544gg

    svn_access_file

    Group__A = User_A,User_B,User_C
    Group_B=User_B

    @Group_b = rw

    @Group_b = rw
    @Group_a = r

    @Group_b = rw
    @Group_a = rw

    userinfo.txt

    User_a=Chris
    User_B=Steve

    repoinfo.txt

    repos01=Repo for SW

    groupinfo.txt

    Group_b=Admingroup of division south

    svnperms.conf

    .* = *() @Group_a(add,remove,update)
    .*/directory1/+/branches/.* = *(add,remove,update)
    .*/directory1/+/branches/locked/.* = *() @Group_b(add,remove,update)
    .*/directory1/+/tags/.* = *(add,remove,update)

    I hope you can better understand how SVN and the module work.

    BR Andreas

     

Log in to post a comment.

MongoDB Logo MongoDB