How do I modify User Directory config with SSO turned on?

I need to change the configuration of the User Directory for Crowd in Jira. Specifically, I want to enable nested groups.

According to the documentation (https://confluence.atlassian.com/display/JIRA/Configuring+User+Directories) I need to set up an admin user in the Jira internal directory and use that to modify the crowd settings.

But according to this (https://jira.atlassian.com/browse/CWD-2535), you can't use accounts in the internal directory if you have SSO enabled.

This seems like a fairly major oversight, since the only way I can see to make this tiny change is to disable SSO (requiring config file changes), restart Jira, make the director config change, then reenable SSO and restart Jira again.

2 answers

1 accepted

If you're using SSO, then you can't login as admin. If you have an "admin" account in Crowd, and attempt to use that, then as the documentation states, you cannot edit the Crowd User Directory config. This is a "feature" to prevent an admin from inadvertantly locking themselves out.

The fix I was given by Atlassian support was to shut Jira down, and change the setting by directly editing the database. This worked, but doesn't seem like a very good solution to what is probably a common setup.

thats what i was doin. loging in as admin works very well. i was trying that szenario before answering. do the same before downgrading my answer. you will see it works

you mean logging in as admin, edit the crowd userdirectory, enable nested groups is not enough?

hmm that confuses me right now cause as admin i was always able to edit my user directories.

note that the order of the directory does matter. my crowd dir on top is not editable. just bring any other (f.e. jira internal directory) on top and you'll be able to edit your crowd directory.

does that help?

Suggest an answer

Log in or Join to answer
Community showcase
Sarah Schuster
Posted Jan 29, 2018 in Jira

What are common themes you've seen across successful & failed Jira Software implementations?

Hey everyone! My name is Sarah Schuster, and I'm a Customer Success Manager in Atlassian specializing in Jira Software Cloud. Over the next few weeks I will be posting discussion topics (8 total) to ...

2,826 views 12 18
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
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot