Allow group owners to invite users to a group they own in the initial invite

AI 生成的摘要

awlogan proposes a feature allowing group owners to include a “Add to groups” selection in their initial invite links. Currently, the workflow for managing beta testers is cumbersome, requiring Product Managers to send invites, monitor acceptances, manually add users to groups, and notify them. While admins can pre-assign groups during invitation, regular group owners cannot. The proposal suggests limiting owners to only those groups they manage to maintain security.

tobiaseigen and others argue this is more of a bug than a feature request. sjjh details a UI inconsistency: when admins create an invite from a group page, the group is pre-selected in the “link options”. However, when a regular user with invite privileges (who is a group owner) creates an invite from the same page, the group selection option is missing, resulting in the invitee not being added to the group. nina.d corroborates this, noting that while some link creation methods preserve the group parameter, others silently drop it, leading to unpredictable behavior without direct feedback to the creator.

The core issue is that the system restricts the “Add to groups” functionality to admins/mods, leaving non-admin group owners with a broken or incomplete user experience when inviting members directly from a group context. tobiaseigen reiterates the frustration, noting that even with recent updates, non-moderators with invite rights cannot achieve the seamless “invite-and-join-group” flow. The current workarounds involve admins creating the invite on behalf of the group owner or temporarily promoting the owner, which is inefficient for site owners managing multiple client-specific groups.

I’ve been trying to find a way to simplify group adds for our beta test user groups. Right now it’s a bit of work for our product managers, they have to:

  1. Send invites to customers to create a profile
  2. Customers open the email link and complete a profile
  3. PM monitors invites and see who accepted them
  4. PMs add the people who accepted the invites to the Beta Group
  5. PMs send an email / private message to the customer that they can now access the Beta Group

I know as an admin I can add groups to the invite per this post: Invite users to a group, but I don’t really want to make these guys admins just to save a couple of steps.

What would be ideal is if the group owner could add the group to the initial invite, but be limited to the groups they own. In this case they would only be allowed to select the Beta Tester group, and not my employee, staff, or other groups.

As a stretch goal it would be nice if the email or private message could also be sent automatically when the user signs up. This would take the process down from 5 steps to 2 steps.

3 个赞

Any ideas on improving this process @tgxworld or @sam? I know “participate in a beta” is one of the earliest uses we have of it..

2 个赞

我也处于同样的情况,我认为为群组所有者添加一个“邀请”按钮,让他们可以邀请其他用户加入群组,是一个不错的起步方案。大致如下:

8 个赞

Would be cool indeed to be able to invite people as a group owner. This didn’t get implemented, right? Thanks!

2 个赞

优先级/严重性: normal(?)

平台: all (I assume). Tested with Discourse 3.6.0-beta1-dev

描述:

创建邀请有两个位置:

  • 主菜单
  • 在群组页面内

作为管理员或版主,我可以在群组页面内创建邀请。在弹出对话框中打开“链接选项”,相应的群组会被预先选中,因此被邀请的人会直接加入该群组。这很棒。

如果我作为群组所有者和普通用户(拥有创建邀请权限的群组成员)在群组页面上创建新邀请,则“链接选项”部分将缺少预选群组的选项。

预期行为

作为群组所有者和普通用户(拥有创建邀请权限),从群组页面创建邀请时,弹出对话框应包含预选群组的可能性,并预先填充相应的群组。下拉列表应包含用户有权创建邀请的所有群组。

可重现步骤:

  1. 登录为管理员
  2. 从群组页面内创建邀请
  3. 观察到“链接选项”中有一个群组字段,并且相应的群组已被预先选中
  4. 观察到被邀请用户已添加到预选群组中。
  5. 感到高兴 :slight_smile:
  6. 登录为普通用户(作为群组所有者,并且是拥有创建邀请权限的群组成员)
  7. 从您拥有的群组页面内创建邀请
  8. 观察到“链接选项”中没有群组字段
  9. 观察到被邀请用户未被添加到任何群组。
  10. 感到不高兴 :frowning:

感谢您的工作! :slight_smile:

PS:这似乎在四年前就起作用了。
PPS:还有一个功能请求正在等待处理。但经过仔细考虑,对我来说,这更像是一个错误而不是功能请求,因为我所说的按钮位于群组页面内(我不是指主导航中的按钮)(而且版主/管理员的按钮行为差异不透明)。

2 个赞

谢谢你,Simon!我已将你的主题移至功能请求的回复中,因为我同意 @sam 的观点,它应该放在这里。

鉴于自创建此主题以来,邀请系统发生了一些较近期的更改,你已很好地更新了 OP 中提出的问题。简而言之,管理员可以创建邀请,邀请者在创建账户时即可立即被添加到一组或多组中。而作为组所有者的普通成员则不能。

我认为网站所有者应该能够授予在创建邀请时访问“添加到组”下拉菜单的权限,也许可以使用新的 allowed_by_group 设置?如果允许,那么他们只能选择他们是所有者的组。

不过,我可以想象一些网站所有者可能不希望允许这种情况。如果不允许,那么即使该成员是组所有者,在组页面上也不应显示邀请按钮。也许首先移除它会是正确的做法,至少使界面保持一致。

1 个赞

我遇到了一个非常相关的问题,只是具体行为与这里描述的略有不同,但这个问题也已经存在一年了。

简而言之,管理员可以创建邀请链接,被邀请人在创建账户时会被立即加入一个或多个群组。而拥有群组所有权的普通成员则不能这样做。

如果我是被授予了邀请权限的非管理员群组所有者,我是否可以使用我创建的(带有群组参数的)链接,在同一个步骤中既将人邀请到平台,又邀请到(该)群组?

我的问题是,群组页面上可用的链接创建按钮产生的结果各不相同,而创建者无法得到直接反馈,正如这里所描述的。所以我同意,这更像是一个 bug,而不是一个功能。

我也注意到通过个人资料页面也有邀请选项,如果在那里创建链接,它不会包含群组参数。这是符合预期的。但如果我通过群组页面进行邀请,我预期无论情况如何,都应该能邀请到该群组。

2 个赞

经典之作,依然好用!

我今天自己恰好碰到了这个问题!我正在网站上为客户创建群组,以便他们能访问自己的分类。我希望允许他们邀请尽可能多的人加入网站以及他们的私有群组和分类。

尽管邀请系统最近有了许多改进,但据我所见,这仍然无法实现。非版主/管理员可以获得邀请权限,但必须在被邀请者加入网站后才能将其添加到群组中。除非我遗漏了什么,希望如此吧 :folded_hands:

目前的变通方法是:由_我_以版主或管理员身份创建邀请,或者暂时提升他们的权限,伪装成他们的身份并代表他们创建邀请。