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?
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.