Support Questions

Find answers, ask questions, and share your expertise

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

avatar
Contributor

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
Contributor

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!