Locking the Vault repository

If you are having a problem using Vault, post a message here.

Moderator: SourceGear

Post Reply
ales.potocnik
Posts: 3
Joined: Wed Jul 02, 2008 9:08 am

Locking the Vault repository

Post by ales.potocnik » Wed Jul 02, 2008 9:13 am

I apologize if this question has already been posted.

Is it possible to lock the entire repository for checkins? We have a release process where we dedicate a day when no checkins should happen. Users should still be able to check out.

Is it possible to do that and if so can this be done through API as well? Ideally only one (the user who initiated it) would have checkin premissions but anyone else no permission to check in.

Thanks

jeremy_sg
Posts: 1821
Joined: Thu Dec 18, 2003 11:39 am
Location: Sourcegear
Contact:

Post by jeremy_sg » Thu Jul 03, 2008 10:04 am

There are a couple of ideas that will get you close to the functionality you want.

1. Use Folder Security in the admin tool, and apply a Read only security to all users on the $ node. Your users won't be able to check in any changes.

2. Pin the node that you want to protect. No new versions can be committed inside a pinned folder.

The pin option can be done through the command line client.
Subscribe to the Fortress/Vault blog

ales.potocnik
Posts: 3
Joined: Wed Jul 02, 2008 9:08 am

Post by ales.potocnik » Fri Jul 04, 2008 1:23 am

Thanks a bundle Jeremy. This sound like something I've been looking for.

lbauer
Posts: 9736
Joined: Tue Dec 16, 2003 1:25 pm
Location: SourceGear

Post by lbauer » Mon Jul 21, 2008 10:27 am

Let us know if you have further questions.
Linda Bauer
SourceGear
Technical Support Manager

ales.potocnik
Posts: 3
Joined: Wed Jul 02, 2008 9:08 am

Post by ales.potocnik » Thu Jul 24, 2008 6:23 am

Apologies for a late response.

We have tried out the pining solution and it seems to do what we needed.

lbauer
Posts: 9736
Joined: Tue Dec 16, 2003 1:25 pm
Location: SourceGear

Re: Locking the Vault repository

Post by lbauer » Thu Jul 31, 2008 10:21 am

Thanks for the update.
Linda Bauer
SourceGear
Technical Support Manager

Post Reply