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

Delete a user who is an owner and edited a space.

Alex Battard September 22, 2014

I need to delete employees as they wont have access and so that their name is out of the system.  I can disable a user, but i cant delete them since they added pages and spaces.  How can i accomplish this?

2 answers

2 votes
Elisa [Atlassian]
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
September 22, 2014

Hi Alex,

If this user has edited any content on the system, you won't be able to delete him/her. But only deactivate.

If this user has only created content, then you can associate all content created to another user and then delete him/her.

Please let us know if this helps you.

Cheers!

0 votes
Felix Grund (Scandio)
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
September 22, 2014

We've done this several times when we wanted to assign content to another LDAP user. This is our process:

  • Backup the database
  • Create a temporary user in Confluence (tmp_user)
  • Assign all content created by the user to delete (del_user) to tmp_user
update content set creator = 'tmp_user' where creator = 'del_user';
update content set lastmodifier = 'tmp_user' where lastmodifier = 'del_user';
  • Delete del_user in Confluence
  • Synchronize the target LDAP (ldap_user) user with Confluence
  • Revert the changes above
update content set creator = 'ldap_user' where creator = 'tmp_user';
update content set lastmodifier = 'ldap_user' where lastmodifier = 'tmp_user';
  • remove the tmp_user from Confluence

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events