restrictions on crowd group names

Is there any built-in functionality to Crowd to restrict the types of characters used when creating groups?  We have an application that connects into crowd and it allows users to create groups with special characters - causing major issues for us when we do synchronizations between Crowd and JIRA.

Would like to understand if this can be prevented on the Crowd side, or if we need to build in validation on the application side.

2 answers

In Crowd you can define a pattern for new passwords with a regex (see here), my understanding is that you'd like something similar for group/user names, right? If so, I'm afraid to say that it doesn't exist yet in Crowd out of the box. You may want to suggest this as a new feature at jira.atlassian.com.

I hope it helps.

Cheers

What issues are you seeing in JIRA? JIRA should be pretty resilient to usernames that are not using the standard ASCII set. Since JIRA supports LDAP and LDAP has a *very* broad definition of what characters can be in a named object, JIRA needs to be able to support it. It would be great to know what characters are not working atm!

One option that could work is to implement a new Custom Directory (that is a decorator to the current type that you use). You could then implement any specific logic you want to control around group names in this directory before calling the underlying directory.

https://developer.atlassian.com/display/CROWDDEV/Creating+a+Custom+Directory+Connector

 

Thanks.  The issue we're having is primarily with group names, not user names.  But we have groups that look like this: {!"!

In particular, the one causing the major problem is when there are unmatched curly braces in the group name (left-hand, but no right-hand) it breaks Crowd synchronization.  Worked with support for a month to get to the bottom of that smile  Wanted to try to understand if Crowd had an OOTB way of preventing use of those characters.

Thanks for the further info here @Gianna Migliorisi! Wow, I would never expect anyone to be in a group that had that as part of the name! But as I mentioned above, there is nothing out of the box that will let you control group names, if you do want to get you hands a little dirty and write some extensions to Crowd I can think of a few ways to do this, inclusive of the option I gave you above.

If the problem is with unmatched braces, you may be running in to https://jira.atlassian.com/browse/JRA-33170 , which has a fix available.

thank you @Joseph Walton ! This error was completely different from what I was receiving though, which may be why it was so annoying to track down. We need to upgrade our JIRA instance, we're running 6.0.8.

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted Monday in Confluence

Organizing your space just got easier - Page Tree Drag & Drop is here

Hi Community! I’m Elaine, Confluence Product Manager. You may have read my earlier post about page tree in space navigation sidebar. I'm excited to share another improvement that helps you organize ...

72 views 3 3
Join discussion

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