开云体育

ctrl + shift + ? for shortcuts
© 2025 Groups.io

Self-hosted adding users


 

Hi,

I have a self-hosted set up and have turned of self-registration because I don't want it open to the general public to register. Is there another way to create new users?

Thank you,

Elin Waring
Lehman College, CUNY


 

I have the same question. I could temporarily reconfigure taguette to have open registration and restart, but I would prefer to keep registration closed and add new users manually from the admin account? Does anyone know how to do this? Thanks!


 

2024-10-10 13:23?UTC-04, Edward L Platt <ed@...>:
I have the same question. I could temporarily reconfigure taguette to have open registration and restart, but I would prefer to keep registration closed and add new users manually from the admin account? Does anyone know how to do this? Thanks!

Hi,

There is no interface in Taguette to do this, but you could insert the users into the database directly. You just have to put them in the "users" table with a "login", and "email". Then users can reset their passwords via their email address.

In SQL it looks like this:

INSERT INTO users(login, created, email, disabled) VALUES('username-here', current_timestamp, 'user-email-here@...', false);

Or you should be able to use the import functions of your database system to read in a CSV file.

A tool could also be added to Taguette if this is a common requirement. I can't promise to tackle this myself soon however.

Best regards
--
Rémi Rampin
The developer


 

Thanks for the speedy reply! This will work for now. If I find myself with some extra time, I may see if I can contribute a patch.


 

开云体育

It would be great to be able to bulk import at least. I am going to talk to our IT people about that.? My situation is that we only want to have students from our institution have access so we don’t want to have open access for registering for the whole internet.?

?

Elin

?

From: taguette@groups.io <taguette@groups.io> on behalf of Edward L Platt <ed@...>
Date: Thursday, October 10, 2024 at 1:38
?PM
To: taguette@groups.io <taguette@groups.io>
Subject: Re: [taguette] Self-hosted adding users

* This email originates from a sender outside of CUNY. Verify the sender before replying or clicking on links and attachments. *

Thanks for the speedy reply! This will work for now. If I find myself with some extra time, I may see if I can contribute a patch.