How to set permissions in an svn repository?

前端 未结 1 1608
说谎
说谎 2021-02-12 22:56

I created a repository on a network drive with svnadmin create repos.

Is there a way to set user permissions to the repository?

And if that is the

相关标签:
1条回答
  • 2021-02-12 23:45

    If you need to manage access via svn:// protocol (embedded authorization), all you need to do is to change files in conf folder of your newly created repository:

    1. Set up passwd (repos/conf/passwd) in order to define a list of users and passwords
    2. Set up authz (repos/conf/authz) in order to define groups and privileges
    3. Set up svnserve.conf (repos/conf/svnserve.conf) in order to define general access configuration

    Here is simple guide of how to edit and configure access to your repository. Also you can consult official documentation in order to dive into subversion access management.

    In case you need to manage access via http:// protocol, you might like to consult official subversion documentation on this matter, it's a bit more complex topic than embedded subversion authorization.

    0 讨论(0)
提交回复
热议问题