Vault - FinalBuilder Integration: Vault exposing permisions

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

Moderator: SourceGear

Post Reply
greenstone
Posts: 7
Joined: Fri Feb 27, 2009 4:09 pm

Vault - FinalBuilder Integration: Vault exposing permisions

Post by greenstone » Wed Jun 08, 2011 8:40 am

Hi,

We user FinalBuilder as our automated build platform and Vault Standard as the source control.

We use the Vault feature that limits developers permission (using the Vault admin console) to only check-in to their own branch (so only the build master can build the "production" branch).

I would like to use the "FinalBuilder Server" which allows developers to login into the FinalBuilder Server web site and fire off builds--but only on their branch.

Is there a call to ask (from FinalBuilder) to Vault (e.g. via the command line call of the vault .exe) if a user has permission on a branch? (so if the user doesn't have permission the FinalBuilder would reject the build attempt)

Thanks!

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

Re: Vault - FinalBuilder Integration: Vault exposing permis

Post by lbauer » Wed Jun 08, 2011 10:14 am

We don't officially support FinalBuilder, so we haven't tested it.

Does the build use a particular Vault account?
Linda Bauer
SourceGear
Technical Support Manager

greenstone
Posts: 7
Joined: Fri Feb 27, 2009 4:09 pm

Re: Vault - FinalBuilder Integration: Vault exposing permis

Post by greenstone » Fri Jun 10, 2011 8:39 am

Yes, we have a "build" Vault user that the FinalBuilder (on the build machine) uses to checkout/checkin files.

But maybe we could pass in the "Vault" username to checkout/checkin files. If we did that, is there a way to ask Vault (via the command-line call to Vault) "does this user have checkin permissions to a given branch?"?

If we coud ask Vault this, we could setup the FinalBuilder to terminate if an "unallowed" user trys to do a build of a branch.

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

Re: Vault - FinalBuilder Integration: Vault exposing permis

Post by lbauer » Fri Jun 10, 2011 3:39 pm

Do you have Folder Security enabled? If so, then if the build logs into Vault with a Vault user account like "Bill" or "Linda" and "Bill"
had no access to ProjectA, then the build would fail if it tried to get ProjectA.

Is that what you're looking for?
Linda Bauer
SourceGear
Technical Support Manager

Post Reply