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.

  • AgreeableLandscape@lemmy.ml
    link
    fedilink
    arrow-up
    0
    ·
    edit-2
    3 years ago

    And could lemmy be used as a private forum were only registered users and whitelisted users can view, post and comment on the instance.

    There’s no limited registration or account approval features yet, but you can close the registration completely or open it at any time if you’re an administrator. Anyone can still view the content though.

    • Wala Walas@lemmy.mlOP
      link
      fedilink
      arrow-up
      0
      ·
      3 years ago

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

      • AgreeableLandscape@lemmy.ml
        link
        fedilink
        arrow-up
        0
        ·
        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 Walas@lemmy.mlOP
          link
          fedilink
          arrow-up
          0
          ·
          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?