svn (Subversion) is an excellent version control tool that’s used worldwide to track changes made to files. Rather than granting all users full read/write access, you can restrict their access accordingly using authz.
To do so, please do the following:
1. Update the conf/svnserve.conf file to uncomment the following:
### Uncomment the line below to use the default authorization file.
authz-db = authz
2. Update the authz file to include the restricted access as well as the other users who have read/write access.
[groups]
mygroup = user1,user2,user3
[/]
@mygroup = rw
[/path/to/read/access]
contractor1,contractor2 = r
[/path/to/read/write/access]
contractor1,contractor2 = rw
3. Once you have saved the files the updates will take effect immediately.