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

AI 生成的摘要

awlogan requested that group owners be allowed to include a group in the initial invite, simplifying a five-step beta testing workflow into two. dax supported this, suggesting an “Invite” button specifically for owners. sjjh later characterized the issue as a bug rather than a feature request, noting that while admins see a group selection dropdown on the group page invite form, non-admin group owners do not, leading to inconsistent behavior. tobiaseigen moved sjjh’s report into this topic and proposed a new allowed_by_group setting to grant this permission to specific users, restricting them to groups they own.

nina.d highlighted further confusion, noting that link creation buttons on group pages behave inconsistently regarding group parameters. tobiaseigen initially struggled to find a workaround for non-admin group owners needing to invite clients directly into private groups. However, tobiaseigen later confirmed that the functionality now works as intended: non-admin group owners with invite privileges can see the “Add to groups” option in the advanced invite popup and select their own group, provided they perform a hard refresh or wait for permission propagation.

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:

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

今天再次测试时发现它现在确实能正常工作了。如果用户被允许邀请且是群组所有者,他们会在“高级模式”邀请弹窗中看到“添加到群组”选项,并可以选择自己的群组。

我想我可能需要强制刷新页面或等待某个进程完成,才能授予该用户访问权限。