atlassian.com/questions/confluence

What are the steps to take to activate a deactivated user?

We are using Confluence 5.1.5.

4 answers

1 accepted

Hi,

Do you have JIRA and Confluence connected? If so, are users being imported from JIRA into confluence? If they are then you can try enabling them in JIRA and see if that does anything. I feel like having to do database queries to enable a user is way to much work and there has to be a simpler solution.

Alex I do not know for sure if we have Confluence import from JIRA, but checking the user profile in JIRA shows that this individual is active, however she has not logged into JIRA. As you say, if our users are being imported from JIRA then she should be active. Let me know if this helps. Thank you Joe

Hi, SO it seems what you need to find out is what system is controlling access for the this user. We at least know that it is not Confluence since it does not give you options in Confluence to enable/disable them. I am guessing then that it must be something with the LDAP or JIRA. I think you should probably escalate this issue with Atlassian and submit a support ticket about this. I don't have much experience using LDAP since my company doesn't use that for user management and I don't want to tell you the wrong thing. Let me know what they end up saying if you submit a request.

Hi,

As long as you have Admin permission to Confluence you can just go to the Users section of the Admin area, search for the user, click on the users name and then you will see an option to activate the deactivated user. 

 

 

Hi Alex,

Your response is what I expected to see when I accessed the users account as an Admin. What I see is when I view the user is shown in the figure below. I expected to see the Activate link at the bottom with the View and Edit options.

Let me know what I am missing.

Thanks

Joe

 

attached View User Screen - Unable to activate a deactivated user.JPG

Hi, I see the user is coming from LDAP. Are they enabled there? We don't use LDAP so I assume that is why I am able to see more settings there.

From our investigation, we have determined that the problem is related to how JIRA works with LDAP because, we are allowed to disable and enable local users (external users from a NOAA perspective) via the JIRA user interface, but we are not allowed to disable and enable our LDAP users via the JIRA user interface. In addition we have checked our LDAP server and there is no problem with our LDAP server and, the user in question has not been removed from LDAP. Also we feel that there must be a trigger on the cwd_user.active field or some job that runs that changes something else based on the value of cwd_user.active field. From this, we need to know two things: 1. Is there any way to re-enable a disabled LDAP user from the interface? And if not, when will there be? 2. What query do we need to run on the database to manually re-enable a disabled LDAP user? Or is what I already did sufficient, but requires a JIRA restart. Thank you Joe

Alex:

*********************************************************************************

I have more information and a question from our Database Architect. Below are his comments and his question,

I want to show you the query that we used to disable a user and then attempt to enable that user. The comments are from of our Database Architect.

The query used to Disable a user was:

 

update cwd_user
set active = 'F'
where active = 'T'
AND
id in (36971050)

This immediately disabled me.

However, when I re-enabled myself, by running:

update cwd_user
set active = 'T'
where active = 'F'
AND
id in (36971050)

It did not immediately let me in. The main user/search page does not show me as disabled, but the user details page does show me as disabled.

Do you have a better alternative on how to enable a disabled user?

**********************************************************************************************************

Also, 

I do have Admin permission as my user-id has both a confluence-administrator and a confluence-super group permissions. My Admin View User screen is below.

So, why do some of our users have only 3 options on the View User screen, as Elaine Heller has that are View Profile, Edit Groups and Edit Details, while some users have these 3 options plus 3 additional options that are Enable/Disable, Set Password and Remove, such as my id below?View User Screen with 6 options.JPG

Thank you

Joe

Suggest an answer

Log in or Sign up to answer
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Posted Jul 10, 2018 in Confluence

We want to see the templates you've created in Confluence!

Hi Community, Jessica here from the Confluence Product Marketing team!  July’s community challenge is all about sharing pictures  — and as an extension of our first post on what ...

685 views 21 12
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