this post was submitted on 10 Aug 2021
23 points (100.0% liked)

Open Source

30375 readers
794 users here now

All about open source! Feel free to ask questions, and share news, and interesting stuff!

Useful Links

Rules

Related Communities

Community icon from opensource.org, but we are not affiliated with them.

founded 5 years ago
MODERATORS
 

Could lemmy be used as a private self hosted forum?

And could lemmy be used as a private forum were only registered users and whitelisted users can view, post and comment on the instance. This way you can have a private instance which only paid users of your group or club can join like many membership website forums have.

you are viewing a single comment's thread
view the rest of the comments
[–] AgreeableLandscape@lemmy.ml 0 points 3 years ago* (last edited 3 years ago) (1 children)

In theory yes, by disabling registration in the server settings and then directly modifying the database. It's by no means user friendly though. You'll need to know PostgreSQL, as well as how the Lemmy backend structures the actual database tables. You'll also have to manually hash passwords, at least for when creating the account, once the user is logged in, they can change it to their own password which will go through Lemmy's own hash system (or rather, the authentication library that Lemmy uses).

[–] Walawalawashington@lemmy.ml 0 points 3 years ago (1 children)

Is there a library or command for registering an account on lemmy which can be used to register an account on an private instance? Lets say you payed to be in tier 2 of a group and tier 2 allows for a account on their private lemmy instance. Can it be setup so only paid users in tier 2 can have a lemmy account?

[–] AgreeableLandscape@lemmy.ml 0 points 3 years ago (1 children)

I believe you'd have to manually edit the database for that. @nutomic@lemmy.ml?

[–] nutomic@lemmy.ml 1 points 3 years ago

Also through the API, just block the register endpoint so users cant register themselves. And you'd have to block registration over websocket, not sure how that works.