In the vault.config file on the web server, there is the key "<AllowRepositories>*</AllowRepositories>"
Not having access to the web server, what is the format for this key, assuming that this allows us to restrict the web service to "seeing" only certain repositories?
Thanks
AllowRepositories format
Moderator: SourceGear
AllowRepositories format
Last edited by gkn on Tue Jan 30, 2007 9:23 pm, edited 1 time in total.
Within a vault.config you will find an "AllowRepositories" xml element. You can place a comma delimited list in this element to configure the Vault Server to only serve up a given repository.
For example, if you have 5 repositories, you'll need to know their repository ids (SELECT repid, name FROM sgvault.dbo.tblrepositories). If you wanted to only allow access to repositories with ID numbers 1, 2, and 3, you would configure the Vault Server with <AllowRepositories>1,2,3</AllowRepositories>.
Users would not be able to access repositories 4 and 5.
For example, if you have 5 repositories, you'll need to know their repository ids (SELECT repid, name FROM sgvault.dbo.tblrepositories). If you wanted to only allow access to repositories with ID numbers 1, 2, and 3, you would configure the Vault Server with <AllowRepositories>1,2,3</AllowRepositories>.
Users would not be able to access repositories 4 and 5.
Linda Bauer
SourceGear
Technical Support Manager
SourceGear
Technical Support Manager