No permissions after integrating confluence with crowd

i'm building a test environment for several JIRA products and want to use Crowd for centralized ID/pass

Crowd is installed and appears to be working fine.

I added Confluence and set it up for authentication via Crowd.  This tested fine and everything from what I can see is correct.  The only "dumb" thing I did though is removed local authentication on Confluence which appears to have removed my admin privileges.

To be clear, my "admin" login on Confluence is the same login as what I added to Crowd.  That login is a member of the administrators group.

Is there a way I can (via SSH) modify the Confluence configuration to re-enable local authentication while i look into this further?

Thanks,

Paul

2 answers

1 accepted

0 votes
Answer accepted

>To be clear, my "admin" login on Confluence is the same login as what I added to Crowd.

Ah, now that's not quite true, and I think that's the problem here.  Confluence lets you have many user directories, and it looks for things in order.  An object (user or group mostly) in one directory is totally separate from the others.  If you have duplicate objects, it uses the first one it finds in the first directory. 

So, I suspect you have admin (internal) and admin (Crowd).  And admin (Crowd) is not in the administrators group for Confluence.

First, I'd try adding admin (Crowd) into the admin groups via Crowd.  Problem there is that the Crowd groups may also not be set up to allow admin too, so you'd still be stuck.

Then, I'd try re-enabling the internal directory in the database.  There's a table called cwd_directory which contains a column for enabled/disabled, as well as the order.  Simplest trick would be to first delete or rename "admin" in crowd (if the crowd directory is higher in the list than the interna one) and then just flip the "enabled" flag on the internal directory.  Have Confluence offline while you do that, or it won't realise you've changed stuff.

Suggest an answer

Log in or Sign up to answer
Community showcase
Published Mar 12, 2019 in Confluence

Confluence Admin Certification now $150 for Community Members

More and more people are building their careers with Atlassian, and we want you to be at the front of this wave! Important Dates Start the Certification Prep Course by 2 April 2019 Take your e...

283 views 2 11
Read article

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