question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Group Invite by Link

See original GitHub issue

It is difficult to invite users in large groups in some cases as teachers don’t have list of email ids.

Describe the solution you’d like We can have group invite link similar to the one used in whatsapp.

Url can be of the form groups/id/invite/<secret token>

I think there is a rails API to create tokens easily, something along the lines has_secure_token :auth_token @tachyons any inputs here? I think this resource might help: https://blog.bigbinary.com/2016/03/23/has-secure-token-to-generate-unique-random-token-in-rails-5.html

  • Add Token to groups Table
  • Existing groups are assigned a token in the previous migration
  • New groups get a token when created
  • Button in group page to copy invite link
  • Button in group page to reset invite link (should we have this option?)
  • Add method to groups_controller to add current user to the group if the secret token matches

We can also consider deprecating the way we do currently, i.e. using pending invitations for email invite. Instead we can send a mail invite with the link. This will also give a way for users to accept group invite rather than forcibly be put into a group (privacy reasons). Another advantage is if user for some reason signs up on personal account instead of college account, it still works.

Are you working on this? (Yes/No) No

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Reactions:3
  • Comments:5 (5 by maintainers)

github_iconTop GitHub Comments

3reactions
satu0kingcommented, Dec 12, 2020

Thank you @pavanjoshi914 !

1reaction
satu0kingcommented, Nov 18, 2020
  • Invitation link should be optional, no need to have invitation link for all groups
  • token must be expirable to avoid misuse

Yeah agreed, @pavanjoshi914 keep this in mind? This actually might make things easier. We can set an automatic invitation link expiry of 2 weeks.

Read more comments on GitHub >

github_iconTop Results From Across the Web

How do I invite new members to a Facebook group?
There are a few ways new members can be invited to join a Facebook group. ... Invite with link (only available for private...
Read more >
How to send WhatsApp group invite via link: A complete guide
Here is a complete guide on how you can invite someone to join WhatsApp group via link.
Read more >
Facebook Group Invites: All You Need to Know in 2022
If the group is a secret private group, admins and members can use a link to invite anyone to join, whether or not...
Read more >
Invite People to Join a Group (Group Management) - LinkedIn
Navigate to your Group homepage. · Click Invite connections on the top right corner of the screen. · Type a connection's first or...
Read more >
How To Invite People To A Facebook Group? - Convosight
How to create a Facebook group invite link? Related posts: Whether you have a public Facebook group or a private one, both you...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found