It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

View group members in Stash

Andreas Kuechler Mar 30, 2015

Hi,

if a user has administrator rights for a repository or a project, is there a possibility that he can view the members of groups? This would be helpful when he wants to grant permissions to a group.

Also, is it possible to create a report in stash to see who has rights where?

Thank you,

Andreas

2 answers

1 accepted

2 votes
Answer accepted
Michael Heemskerk Atlassian Team Mar 30, 2015

You can see which users are part of which group by clicking on the group in question under Administration > Groups. Likewise, you can see which groups a user is part of by clicking on the user in Administration > Users.

Stash currently does not provide a report that allows you to see all permissions for all users. There is a REST API that you can use to retrieve the granted permissions at the global, project and repository level, but there's no endpoint to retrieve the _effective_ permissions for a user (taking into account all permissions granted to a user + all the groups the user is member of).

Edit: I had missed the "administrator rights for a repository or project" part of your question. In that case, the answer is no - only global admins can only see group memberships 

Andreas Kuechler Mar 30, 2015

I think this should really be possible for administrators of projects and repositories. Otherwise it does not make sense to give them the possibility to change permissions and add groups.

1 vote
Balazs Szakmary Mar 30, 2015

Unfortunately(?) only users with Admin level global permissions can see the members of groups directly.

A workaround: this plugin shows all the permissions for a repo (to anybody), and group memberships are visible. Of course, this can only be used to verify that adding a certain group added the right people after the change is already made.

Andreas Kuechler Mar 30, 2015

Thanks, Balazs.

Suggest an answer

Log in or Sign up to answer
This widget could not be displayed.
This widget could not be displayed.
Community showcase
Published in Bitbucket Pipelines

Building a Bitbucket Pipe as a casual coder

...ipe.sh :  #!/bin/bash source "$(dirname "$0")/common.sh" enable_debug extra_args="" if [[ "${DEBUG}" == "true" ]]; then extra_args="--verbose" fi # mandatory variables R...

3,219 views 1 22
Read article

Community Events

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

Find an event

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

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you