Archives of Support Questions (Read Only)

This is an archived board for historical reference. Information and links may no longer be available or relevant
Announcements
This board is archived and read-only for historical reference. To ask a new question, please post a new topic on the appropriate active board.

Remove user created with 'Sign up' link on login page

avatar
New Member

I have a Cloudbreak 1.14.1 install up and running. A new user was added through the 'Sign up' link, but it appears that creates a completely new environment since that user can't see the existing clusters and doesn't show up under 'accounts'.

I would like to remove this user so the email can be used to subsequently add the user using the 'Invite user' button.

How can I remove a user that I can't see under accounts?

1 ACCEPTED SOLUTION

avatar

@Peter Teunissen Unfortunately, this is not a supported use-case.

There is a quick and dirty workaround, though:

You can modify the existing user's e-mail address in the UAA db with the following command to avoid the collision:

docker exec -it cbreak_uaadb_1 bash
psql -U postgres
UPDATE users SET username = '<EMAIL>' where username = '<EMAIL>';

After these changes, you should be able to invite the user from Cloudbreak UI.

Hope this helps!

View solution in original post

3 REPLIES 3

avatar

@Peter Teunissen Unfortunately, this is not a supported use-case.

There is a quick and dirty workaround, though:

You can modify the existing user's e-mail address in the UAA db with the following command to avoid the collision:

docker exec -it cbreak_uaadb_1 bash
psql -U postgres
UPDATE users SET username = '<EMAIL>' where username = '<EMAIL>';

After these changes, you should be able to invite the user from Cloudbreak UI.

Hope this helps!

avatar
New Member

That did the trick, thanks.

Is it possible to give this new user the ability to admin existing users too?

avatar

You can do that logged in with the previous admin user in the UI, clicking on the invited user:

15285-screen-shot-2017-05-10-at-42306-pm.png

Hope this helps!