ok, apparently you can restrict permissions in your svn repository to
specific users, but you need to sell your immortal soul to the heathen gods
of apache (or read the link provided by hafez, chapter 6)

First add the following directive in your svn config file
AuthzSVNAccessFile /absolute/path/to/file (will use
/etc/apache2/dav_svn.authz)

in dav_svn.authz you add the permissions as you like, for example:

[/project]
faisal = rw
hafez = r

this will grant me read and commit privileges to the folder project and all
sub-folders. while hafez would only have read privileges.

Other interesting options:
[/]
* = r
This allows all users to checkout and update from your repository. Even
anonymous.

[groups]
group1 = user1, user2,user3
group2 = user1,user4
group3 = @group1, user5

[/xyz/abc]
@group2 = r

This allows creating groups to more easily manage users.

[/abc]
faisal = rw
[/abc/xyz]
faisal =

Faisal would have read and commit permissions on the abc folder and all sub
folders, but those permissions would be revoked inside the /abc/xyz folder.

If you have more than one project inside your repo, that requires some extra
handling when you specify the folder [/abc], but since i only have one
project, i'll read about that later. In the meantime, hope somebody benefits
from this.

-- 
Al-Faisal El-Dajani
Phone: +962-7-77 799 781
P.O Box: 140056
11814 Amman, Jordan

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Jolug" group.
 To post to this group, send email to [email protected]
 To unsubscribe from this group, send email to [EMAIL PROTECTED]
 For more options, visit this group at 
http://groups.google.com/group/Jolug?hl=en-GB
-~----------~----~----~----~------~----~------~--~---

رد على