SVN Rights Management Tool using Windows Authentic

2019-01-15 11:26发布

问题:

We're using VisualSVN Server as SVN server in Windows. But it has very limited abilities for managing rights. Also we couldn't use svn_access_file because our users are going to be authenticated using Windows Authentication method.

Is there any tool to manage rights that uses/supports Windows Authentication?

回答1:

it has very limited abilities for managing rights

It has all abilities, that Subversion has per se.

we couldn't use svn_access_file

You can and must really, because Windows Authentication define only method of authentication, svn_access_file is authorization file and can refer and use usernames, obtained at authentication stage.



回答2:

Update 03/09/2015:

Managing path-based authorization rules for Subversion repositories is now possible through PowerShell. Check VisualSVN Server | Scripting and Automation page.

VisualSVN Server 3.4 and newer provides PowerShell cmdlets for server and Subversion repositories administration. Therefore, to manage access rules and automate such kind of tasks, you can use the following cmdlets:

  • Add-SvnAccessRule
  • Get-SvnAccessRule
  • Remove-SvnAccessRule
  • Select-SvnAccessRule
  • Set-SvnAccessRule

There are a lot of other PowerShell cmdlets introduced in VisualSVN Server 3.4. For the complete list of PowerShell cmdlets and usage examples, read the article VisualSVN Server PowerShell Cmdlet Reference.


Check SVNBook and VisualSVN KB article for description of path-based authorization. This is not Windows Access Control, it's path-based authorization and you should understand the difference in order to configure and manage access rules correctly and effectively.

I'm confused by the question, in fact. VisualSVN Server has a nice GUI implemented as MMC snap-in, allows you to manage svn users / groups and access right via a familiar GUI. When you use Windows Authentication you manage users and groups via standard Windows / Active Directory tools.