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.

  • Wala WalasOP
    link
    fedilink
    arrow-up
    2
    ·
    3 years ago

    I could have an instance were registration is completely disables and only have the admin being able to create accounts?

    • AgreeableLandscape
      link
      fedilink
      arrow-up
      3
      ·
      edit-2
      3 years ago

      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).

      • Wala WalasOP
        link
        fedilink
        arrow-up
        1
        ·
        3 years ago

        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?

          • nutomicA
            link
            fedilink
            arrow-up
            2
            ·
            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.