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 Sign up to answer
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Julia Dillon
Posted Tuesday in Jira

Tell us how your team runs on Jira!

Hey Atlassian Community! Today we are launching a bunch of customer stories about the amazing work teams, like Dropbox and Twilio, are doing with Jira. You can check out the stories here. The thi...

151 views 1 17
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