초대 링크가 존재하지 않는 사용자만 작동하여 현재 구현 방식이 깨집니다

Hi

Previously, this bug issue was reported (Logged in users have no way to navigate back after using a redeemed invitation link) and the problem was that existing users would no longer be able to access the ‘Arrive at topic’. This redirect issue has been fixed recently (thanks @lindsey and @zogstrip).

However, a new issue appeared along side the fix which is that existing users who use the link are no longer being added to the group specified in the ‘Add to groups’. This completely breaks our implementation of using invitation links for all our existing users because most importantly in addition to redirecting existing users to a topic, we use the ‘add to group’ to give them access to private categories along side using a webhook for external integrations (detailed use case explained here & here )




Dear Discourse Team (cc: @lindsey)
I urge you to have a look at this asap as this is affecting our implementation and it is quite urgent.
Thank you!


This is a bit of an odd path to take for existing users. Invites are geared towards new users. As an admin, why not add the existing users to the group directly?

Because we rely on them clicking on the invitation link and have been using the ‘Add to group’ feature. This also helped with the automation we’re using:

  1. Learner clicks on the link
  2. Existing or new, they’re added to a group and redirected to a topic post
  3. The topic post is in a private category which only people added to the group can view it (but now only new users can view these topics because [existing users] are no longer being added to the group hence the new changes)
  4. In some cases, when they’re added to the group (after clicking on the link) we have it connected to a webhook which grants a badge, or does other automations based on this step.

This has been working perfectly for us for about two and a half years.

1개의 좋아요

Hey @gassim , just checking in to let you know we’re still talking this through. I’ll have more info for you soon!

2개의 좋아요

안녕하세요 @gassim, 이 문제를 조사하는 동안 인내심을 가져 주셔서 감사합니다. 결론부터 말씀드리면, 말씀하신 사용 사례는 저희가 의도한 초대(invite) 설계에 크게 포함되지 않으며, 초대를 이 용도에 맞게 수정하는 것은 쉽지 않을 것입니다.

초대는 기본적으로 기존 사용자를 변경하는 것이 아니라, 신규 사용자의 등록 과정을 안내하는 목적으로 설계되었습니다. 관련 사항을 조사해 본 결과, 2022년에 기존 사용자가 초대 링크를 사용하는 기능을 비활성화하는 보안 업데이트를 수행한 것으로 판단됩니다.

초대 기능은 보안에 상당한 영향을 미치기 때문에 저희에게 민감한 영역입니다. 따라서 이 기능을 다시 도입하는 것은 쉬운 작업이 아닙니다. 신규 및 기존 사용자 모두에게 초대를 활용할 수 있도록 하려면 초대 시스템을 대폭 재설계해야 합니다.

말씀하신 사용 사례를 지원하는 것이 중요하다는 점과 이 정보가 실망스러울 수 있다는 점은 충분히 이해합니다. 다만, 원하시는 목적은 다른 방법으로 달성할 수 있을 것으로 보입니다. 먼저 Discourse Automation을 확인해 보시는 것을 추천드립니다. 사용자가 그룹에 자동으로 추가되는 방법에 대한 문서가 있으며, 이 기능이您的需求에 맞을 수 있습니다: Add users to groups through custom field automation

이와 관련하여 더 도움이 필요하시면 Support 또는 Contribute > Feature 토픽을 개설해 주시면, 해당 내용부터 이어가도록 하겠습니다.

1개의 좋아요

This topic was automatically closed after 2 days. New replies are no longer allowed.