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

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,456,633
Community Members
 
Community Events
176
Community Groups

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

1 vote

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.

JustinK Rising Star Sep 17, 2014

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

Atlassian Community Events