Skip to content

[Feature Request] Create Members Manually #63

Closed

Description

@ItsNoted

The ability to create members in the back end without using email invites.

Activity

  1. changed the title [-]Create Members Manually[/-] [+][Feature Requesr] Create Members Manually[/+] on Jul 5, 2024
  2. changed the title [-][Feature Requesr] Create Members Manually[/-] [+][Feature Request] Create Members Manually[/+] on Jul 5, 2024
  3. Philipinho commented on Jul 6, 2024

    @Philipinho
    Member

    The idea is to also have a configurable workspace level invite link.
    It could be wiki.com/invites/join/workspace_invite_code.
    This will not require sending a mail and anyone with the link can join.

  4. FromNetToDev commented on Jul 16, 2024

    @FromNetToDev

    Hello

    The idea is to also have a configurable workspace level invite link. It could be wiki.com/invites/join/workspace_invite_code. This will not require sending a mail and anyone with the link can join.

    Hello, where find the workspace_invite_code?? where I should take this code?

  5. Philipinho commented on Jul 16, 2024

    @Philipinho
    Member

    @FromNetToDev , it’s not yet implemented.

  6. FromNetToDev commented on Jul 16, 2024

    @FromNetToDev

    What ways are there to add users, besides mail? I have difficulties with mail. Is it possible to connect to the database and create a user there? is there an instruction if such a scenario is possible?

  7. Philipinho commented on Jul 16, 2024

    @Philipinho
    Member

    @FromNetToDev you can find a workaround here #37 (reply in thread).

  8. UrbanCircles commented on Nov 1, 2024

    @UrbanCircles

    any update on when this might become available?

  9. johnnyitd commented on Jan 7, 2025

    @johnnyitd

    Would be great to get this implemented.
    I dont have a mail server on my host so my friends can't join the Docmost. Or a small guide on how to add users manually to database could do.

  10. pwalther commented on Jan 12, 2025

    @pwalther
  11. LJAM96 commented on Feb 11, 2025

    @LJAM96

    workaround works well to create users, would be nice if there was an ability to create offline links within the GUI for user setup.

    Also results in password changes being very difficult.
    @pwalther dont suppose you would know the correct SQL statements to pull the required data to manually access reset password requests

  12. pwalther commented on Feb 11, 2025

    @pwalther

    I think this might work:

    -U username -W dbName:

    docker exec -it docmost-db-1 psql -U docmost -W docmost
    select t.token from user_tokens t, users u where t.user_id = u.id and u.email like '[email protected]';
    
    

    https://yourdomain.com/password-reset?token=${token}

  13. LJAM96 commented on Feb 11, 2025

    @LJAM96

    I think this might work:

    -U username -W dbName:

    docker exec -it docmost-db-1 psql -U docmost -W docmost
    select t.token from user_tokens t, users u where t.user_id = u.id and u.email like '[email protected]';
    

    https://yourdomain.com/password-reset?token=${token}

    Works perfectly thank you

  14. k0lp4tzki commented on Feb 15, 2025

    @k0lp4tzki

    Hi, on my search to create user locally /wo mail i stumbled across this topic and was happy that it's an actual thing.

    I create users at this moment for me:

    1. Generate a user with some kind of random email, because the mail is not more than a username (to me)
    2. Without Mailing the invitation is stored in the database like described above.
    3. because the invation link -with- configured mailing is referenced on my local network and not some public url, i prompted a script to generate invite link from the workspace_invitations; table.

    After a entry is just as long in the tabel as the invite is pending. So the outcome is good enough.

    https://github.com/k0lp4tzki/bash/

    Image
    Image
    Image

    Mayb its helpful for some of you too

  15. heinrihs-s commented on Feb 18, 2025

    @heinrihs-s

    If you are using portainer stack, this is how to obtain the link:

    1. Open Portainer > Containers > docmost-db-1 > Console tab
    2. Run and insert DB password:
      psql -U docmost -W docmost
    3. Then:
      select id, token, email from workspace_invitations;

    Build Your Invite Link

    https://yourdomain.com/invites/${invitationId}?token=${inviteToken}
    

    Example:

    https://yourdomain.com/invites/01945c46-aa8e-7d75-b5ca-2d86a97f2840?token=mixbvk2mou2mznse
    
  16. Philipinho commented on Mar 29, 2025

    @Philipinho
    Member

    Closing since you can now copy user invite links, starting from v0.8.4.

  17. HelloMihai commented on May 7, 2025

    @HelloMihai

    If you are using portainer stack, this is how to obtain the link:

    1. Open Portainer > Containers > docmost-db-1 > Console tab
    2. Run and insert DB password:
      psql -U docmost -W docmost
    3. Then:
      select id, token, email from workspace_invitations;

    Build Your Invite Link

    https://yourdomain.com/invites/${invitationId}?token=${inviteToken}
    

    Example:

    https://yourdomain.com/invites/01945c46-aa8e-7d75-b5ca-2d86a97f2840?token=mixbvk2mou2mznse
    

    make sure to first create an invite in the web GUI, else nothing will show here

  18. zhanglun commented on May 21, 2025

    @zhanglun

    If you are using portainer stack, this is how to obtain the link:

    1. Open Portainer > Containers > docmost-db-1 > Console tab
    2. Run and insert DB password:
      psql -U docmost -W docmost
    3. Then:
      select id, token, email from workspace_invitations;

    Build Your Invite Link

    https://yourdomain.com/invites/${invitationId}?token=${inviteToken}
    

    Example:

    https://yourdomain.com/invites/01945c46-aa8e-7d75-b5ca-2d86a97f2840?token=mixbvk2mou2mznse
    

    make sure to first create an invite in the web GUI, else nothing will show here

    You are right! 😄 But I used another method to create the user without using the webui. I manually inserted an invitation record in workspace_invitations.

  19. added a commit that references this issue on Dec 24, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions