How do I see what repositories each user or group has access to?

I need to find out what repositories and projects each user has access to and what level of access they have. Something similar to the Permission Helper in Jira but for Stash would work great. It would be ideal to see the repositories and/or projects on the user's profile page as an administrator (or maybe a link to acquire the list quickly).

Does this exist?

4 answers

1 accepted

This widget could not be displayed.

I guess we may end up writing a plugin for this fundamental functionality...

Please publish it if you really do, I would use it too.

This widget could not be displayed.

I haven't seen anything like this existing yet

A possible solution might be using the REST-API (https://developer.atlassian.com/static/rest/stash/3.0.1/stash-rest.html#idp788096) perfroming the following steps:

Hint: you have to be admin to get a comprehensive list of ALL repositories ...

This widget could not be displayed.

Do we still not have this feature?

seems not

Nope, as often with Atlassian essential tools are not provided.

This widget could not be displayed.

I know the original question is old, but the following queries might help somebody:

 

select distinct(group_name) from sta_project_permission order by group_name;
select distinct(group_name) from sta_repo_permission order by group_name;
select distinct(group_name) from sta_global_permission order by group_name;

 

According to postgres, these appear to be all the tables with a group_name column:

  • cwd_app_dir_group_mapping
  • cwd_group
  • sta_global_permission
  • sta_project_permission
  • sta_repo_permission

I also searched for group_id and got:

  • cwd_group_attribute

 

So while the three queries above may not be complete, the column name searches lead me to believe I'm good.

Suggest an answer

Log in or Sign up to answer
Community showcase
Published Aug 21, 2018 in Bitbucket

Branch Management with Bitbucket

As a project manager, I have discovered that different developers want to bring their previous branching method with them when they join the team. Some developers are used to performing individual wo...

1,312 views 8 11
Read article

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you