Which permission to view vcs-roots?

Hello,

Playing with REST API to get all vcs roots used by TC.

asked rest api for /vcs-roots with my api user, and got no roots. Figured out it is permission problem. The closest one I found was "View VCS file content" but nothing changed. Set api user as system administrator and got roots. But obviously it is too much.

Found this old topic but it has no answer.

Q: what is minimum permission for listing vcs roots and getting their details (i.e. repo url)?

Thank you.

0
1 comment

Hi Gleb,

Permissions are assigned per project, so you would need to assign the permissions to either the required projects. This permissions are inherited hierarchically, so if you assign them to the root project, or any other project, the permissions will also be valid for all the subprojects.

From the default roles, the "Project Administrator" role provides the set of rules to view the vcs roots. In particular, the "Edit Project" permission allows to see them.

0

Please sign in to leave a comment.