How to add a self-registered user to my workspace

Please fill in the questionnaire below.

Help Questionnaire

Self-Hosted Installation and Setup Questions

all-in-one docker

How have you self-hosted Baserow.

What are the specs of the service or server you are using to host Baserow.

           total        used        free      shared  buff/cache   available

Mem: 15Gi 1.8Gi 7.9Gi 43Mi 5.9Gi 13Gi
Swap: 979Mi 0B 979Mi

Which version of Baserow are you using.

1.29.2

Describe the problem

I have enabled self-registration. When I login with a new e-mail this works. However, when I log in with an admin user, I can find no way to get this newly self-registered user into my own workspace.

Hi!

I’m not sure if I understood you properly. Do you see members/invite users in your workspace when logged as admin?

image

Hi Cezary,

No, I cannot see the user that has auto-registered.

Hello @jjmurre,

By default, every newly registered user in Baserow creates a workspace, and we don’t currently have a way to make new users part of a specific workspace automatically.

However, we have a couple of admin settings that, together with user invitations (Add workspace collaborators), can help with your request.

Depending on your needs, you might want to turn off Allow creating new account and only send `user invitations to new users, as explained in the docs above.

If you prefer to let them create their account but not create new workspaces automatically, you can disable the other setting to Allow everyone to create new workspaces. This will allow people to log in with Baserow without creating a new workspace automatically, but you’ll still need to invite them to your workspace, and they must accept the invitation to join it.

Please note that these settings are only visible to the instance admin, the first user created in Baserow.

I hope this helps

Hi @davide Initially the Allow creating new account was turned off. However, when a user tries to login using SAML, Baserow presents an error message that this Allow creating new account needs to be enabled.

But, when I invite people from Baserow, can they use SAML to log in, in response to this invitation? If so, I will try that.

However, the problem now is that I am unable to remove the self-registered user, because I cannot see that user (and I have only one test account for SAML logins). Is there a low level way of removing the self-registered user? Maybe using a command-line command, or directly in the postgresql database?

Yes, it should work. When they click on the linked received by email, they will be redirected to the sign-up page, and if SAML is enabled, it should be visible a Login with SAML link that will allow them to log in with SAML

Is there a low level way of removing the self-registered user? Maybe using a command-line command, or directly in the postgresql database?

We have this page in the admin settings that will allow you to manage users and delete workspaces.

Screenshot 2024-12-05 at 17.14.33

( the picture has been taken from my dev environment, the users are just some random ones for testing purposes)

Hi @davide Yes, works like a charm!!

Tx for your help!