Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Next challenges

Recent achievements

Recognition

  • Give kudos
  • My kudos

Leaderboard

  • Global

Trophy case

Kudos (beta program)

Kudos logo

You've been invited into the Kudos (beta program) private group. Chat with others in the program, or give feedback to Atlassian.

View group

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

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.

joe Atlassian Team Sep 17, 2014

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
TAGS
Community showcase
Published in Confluence Cloud

Share your Confluence Cloud experience for a chance to win $500!

Take our 5-minute survey to win a $500 Visa gift card! Are you currently using Confluence Cloud? We want to hear from you! Fill out this quick survey about your Confluence Cloud experience so we ...

240 views 5 13
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