在基于 drupal 的站点中管理团队成员资格的最佳方式

发布于 2024-08-21 22:39:17 字数 323 浏览 5 评论 0原文

我正在创建一个网站来管理体育联盟。每个赛季开始时,都会有一次选秀,队长们会在选秀期间选择自己的球队。目前,我正在考虑在团队类型上使用有机组和/或用户参考字段。 (哪一个?两个?)

我想提供一个干净的界面来管理草稿,管理员将拥有一桶用户,并可以将它们拖到每个团队的桶中。或者在表格之间或通过下拉界面或其他方式。我现在不太关心界面:

  • 管理员可以查看和编辑
  • 按团队分组的
  • 所有用户,其中未分组的组
  • 可以轻松地在组之间移动它们

我想我可能可以使用视图批量操作来发起一些事情,但在我这样做之前,外面有类似的事情吗?

I'm creating a site to manage a sports league. At the beginning of each season, there's a draft during which captains choose their teams. Currently, I'm considering using Organic Groups and/or a user reference field on the Team type. (Which one? Both?)

I'd like to provide a clean interface for managing the draft where an admin would have a bucket of users and could drag them into buckets for each team. Or between tables or via a dropdown interface or whatever. I'm less concerned about the interface at the moment than I am that:

  • the admin can see and edit all the users
  • grouped by team
  • with an ungrouped group
  • easily move them between the groups

I imagine I might be able to use views bulk operations to whip something up, but before I do, is there anything like this out there?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

但可醉心 2024-08-28 22:39:17

正如您所怀疑的那样,这对于有机团体来说听起来是一个很好的方案。您可以为每个团队创建一个私人群组,并且只允许管理员或“团队队长”将人员添加到给定团队。视图查询可以让您显示不属于任何组的玩家的页面。我们为项目团队做类似的事情。

It sounds like a good scenario for organic groups, as you suspected. You can make a private group per team, and only allow administrators or 'team captains' to add people to a given team. A views query can allow you to show a page of players who don't belong to any group. We do something similar for project teams.

原谅我要高飞 2024-08-28 22:39:17

是的,有机团体的完美场景!这正是该模块的用途。

Yup, perfect scenario for Organic Groups! That's exactly what that module was meant to do.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文