0

I am new to VisualSVN commands. I am trying to add Active directory Group(Entire group) to 1 of the repository of SVN and give them read , write access to that repo using powershell commands. I have refered the link SVN Rights Management Tool using Windows Authentication method

This is regarding rights to "USERS" .how can I grant permissions to entire "Group" using powershell commands( where users can be added later)

Community
  • 1
  • 1
Devi
  • 21
  • 1
  • 2
    Have you tried simply using a group SID instead of a user SID? – Ansgar Wiechers Mar 25 '15 at 19:22
  • @Ansgar Wiechers Yes I have tried using SID of group . It is giving InvokeWMI management Exception when I use Invoke-WmiMethod and InvokeMethodOnNull exception when I used setSecurity. – Devi Mar 26 '15 at 05:28

1 Answers1

1

Upgrade to VisualSVN Server 3.4 and use the Add-SvnAccessRule PowerShell cmdlet to add a new access rules for the Active Directory group account.

For example, if you need to add the ReadOnly access rule to /trunk or a project in a repository, run the following PowerShell command:

Add-SvnAccessRule MyRepository -Path /trunk -AccountName DOMAIN\MyGroup -Access ReadOnly

Read the article VisualSVN Server PowerShell Cmdlet Reference for more information.

bahrep
  • 29,961
  • 12
  • 103
  • 150