Can I limit the Stash pull request reviewer list to members of a specific group? Or force Embedded Crowd to sync only certain groups?

I have a Stash behind-the-firewall installation which is slaved to the JIRA user directory using Embedded Crowd. This particular JIRA instance has a lot of users in it, but very few have access to Stash.

When I create a pull request, the reviewer list dropdown contains all of the users in the Stash user directory, even though none of those users have access to Stash via global permissions (let alone any permission in the project or repository I am working on).

I want the reviewer list to be limited to only those users who have access to the target repo in the target project. How do I do this?

Alternatively, if I am stuck with Stash displaying everything, is there any way to convince Embedded Crowd to sync only a subset of the JIRA user database over to Stash?

 

1 answer

1 accepted

0 vote

Hi Scott,

In regards to:

"When I create a pull request, the reviewer list dropdown contains all of the users in the Stash user directory, even though none of those users have access to Stash via global permissions (let alone any permission in the project or repository I am working on).

I want the reviewer list to be limited to only those users who have access to the target repo in the target project. How do I do this?"

Our development team is working to address this issue on the feature below. There is no workaround for that at the moment:

In regards to:

"Alternatively, if I am stuck with Stash displaying everything, is there any way to convince Embedded Crowd to sync only a subset of the JIRA user database over to Stash?"

The workaround here is to configure filters for your external directories. Please refer to the documentation below for more help if you are using LDAP for user management:

I don't think you will be able to set up any filter for JIRA as User Management and in Crowd it is possible – you will be able to select which users are linked to the Stash account.

Which User Directory are you using?

Best regards,
Thiago Bomfim

 

 

Thanks, Thiago! I appreciate the pointer to the issue to watch. Unfortunately, our Stash is slaved directly to our JIRA user directory (not an external directory), so the LDAP filters won't do me any good. Unless there are some secret squirrel database properties I can set that would force Stash's embedded Crowd to do a partial sync with JIRA, I suspect that I will have to wait for the fixes.

Hi Scott, I am glad to help! :-) If you were connecting to Crowd, you'd be able to choose which users are to be synced. See step #3 of https://confluence.atlassian.com/display/CROWD/Integrating+Crowd+with+Atlassian+Stash. However, in JIRA there is no such option. See the whole step #1 of https://confluence.atlassian.com/display/STASH/Connecting+Stash+to+JIRA+for+user+management#ConnectingStashtoJIRAforusermanagement-jira In your case, yes, you will have to wait for the fix.

Suggest an answer

Log in or Sign up to answer
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Published 54m ago in Jira Software

How large do you think Jira Software can grow?

Hi Atlassian Community! My name is Shana, and I’m on the Jira Software team. One of the many reasons this Community exists is to connect you to others on similar product journeys or with comparabl...

41 views 3 3
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