Determine user with rights for a repository file

Post your questions regarding using the Vault and Fortress API in your programs.

Moderator: SourceGear

Post Reply
poschdi
Posts: 20
Joined: Fri Apr 25, 2008 3:49 am

Determine user with rights for a repository file

Post by poschdi » Mon Oct 04, 2010 3:51 am

Hi,

exists there any API function to determine with user has checkin/checkout rights for a specific file?
We used the folder security for our code basis. I want to show unprivileged users which user can help them.

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

Re: Determine user with rights for a repository file

Post by lbauer » Mon Oct 04, 2010 9:47 am

We don't have anything in the Vault Client Integration that would do this.

The Admin Service API does have a method named "ListRightsByFolder"
which would return the list of groups / users with rights on a particular folder, but the user would require admin login rights to make this particular call. You probably wouldn't want to give Admin access to any user.
Linda Bauer
SourceGear
Technical Support Manager

poschdi
Posts: 20
Joined: Fri Apr 25, 2008 3:49 am

Re: Determine user with rights for a repository file

Post by poschdi » Tue Oct 05, 2010 1:51 am

Thy for the information. I had to find a other solution.

Post Reply