Reputation: 51
I need to limit access to merge changes into the trunk to specific individuals. Is there any way to limit merge rights on specific folders in subversion? I don't want to block merging from branch to branch, only into the trunk.
Upvotes: 2
Views: 1232
Reputation: 5261
Can't you make the trunk read-only for those specific people, using Subversion's access control mechanisms?
In your svnaccess
file:
[/MyProject/trunk]
me = rw
albert = r
bernard = r
chris = rw
would allow you and Chris to make changes (including merges) to the trunk of "MyProject", while only giving read permissions to Albert and Bernard.
Upvotes: 4
Reputation: 62603
AFAIK there's no such thing as "merge rights", only read and write permissions. And merging is actually a write operation, you have to give write permission to specific folders ('trunk' in you case) only to those you want to.
Pleas read "Path-Based Authorization" for details.
Upvotes: 2