# 如何设置只有特定的订阅者组才能上传？

**URL:** https://meta.discourse.org/t/how-do-i-make-it-so-only-specific-subscriber-groups-can-upload/393763
**Category:** Support
**Created:** [2026年一月19日 06:16 UTC](https://meta.discourse.org/t/how-do-i-make-it-so-only-specific-subscriber-groups-can-upload/393763 "2026-01-19T06:16:23Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![hipp0](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/hipp0/32/537433_2.png) [@hipp0](https://meta.discourse.org/u/hipp0)
#### Post date: [2026年一月19日 06:16 UTC](https://meta.discourse.org/t/how-do-i-make-it-so-only-specific-subscriber-groups-can-upload/393763/1 "2026-01-19T06:16:23Z")

</div>

我有 2 个组，用户订阅时会被添加到其中。我有一个限制上传的组件，但这只适用于信任级别。

如何让特定类别与该组关联，使其只允许在这些类别中上传？

---

<div class="post-metadata">

### Author: ![itsbhanusharma](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/itsbhanusharma/32/180717_2.png) [@itsbhanusharma](https://meta.discourse.org/u/itsbhanusharma)
#### Post date: [2026年一月19日 06:18 UTC](https://meta.discourse.org/t/how-do-i-make-it-so-only-specific-subscriber-groups-can-upload/393763/2 "2026-01-19T06:18:05Z")

</div>

您需要修改当前的 `theme component` 以支持群组。这应该不难，因为信任等级本质上就是群组，所以大部分工作已经完成了。

---

<div class="post-metadata">

### Author: ![hipp0](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/hipp0/32/537433_2.png) [@hipp0](https://meta.discourse.org/u/hipp0)
#### Post date: [2026年一月19日 06:22 UTC](https://meta.discourse.org/t/how-do-i-make-it-so-only-specific-subscriber-groups-can-upload/393763/3 "2026-01-19T06:22:22Z")

</div>

![image](https://global.discourse-cdn.com/meta/original/4X/7/9/4/7940c800965e8a421c053211287cd1841855772e.png)

---

<div class="post-metadata">

### Author: ![Heliosurge](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/heliosurge/32/571810_2.png) [@Heliosurge](https://meta.discourse.org/u/Heliosurge)
#### Post date: [2026年一月19日 06:42 UTC](https://meta.discourse.org/t/how-do-i-make-it-so-only-specific-subscriber-groups-can-upload/393763/4 "2026-01-19T06:42:04Z")

</div>

这可能有效，或者可能需要一点侧边（cide）修改

> [@Restrict uploads](https://meta.discourse.org/t/restrict-uploads/112688):
>
> This is a very small theme component that will remove the upload button from the composer toolbar and disable drag-and-drop uploading for users that are under a specified trust level. Illustration Settings hammer_and_wrenchRepository [github.com/tshenry/discourse-restrict-uploads](https://github.com/tshenry/discourse-restrict-uploads)open_bookNew to Discourse Themes? [Beginner’s guide to using Discourse Themes](https://meta.discourse.org/t/beginners-guide-to-using-discourse-themes/91966) Install this theme component

---

<div class="post-metadata">

### Author: ![Moin](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/moin/32/554653_2.png) [@Moin](https://meta.discourse.org/u/Moin)
#### Post date: [2026年一月19日 06:46 UTC](https://meta.discourse.org/t/how-do-i-make-it-so-only-specific-subscriber-groups-can-upload/393763/5 "2026-01-19T06:46:38Z")

</div>

> [@hipp0](#):
>
> 我有一个限制上传组件，但它只对信任级别有效。

上周我说

> [@Moin](#):
>
> 有一个主题组件 [限制上传](https://meta.discourse.org/t/restrict-uploads/112688)，它会阻止低信任级别的用户上传。也许你可以将其扩展为基于组而不是基于信任级别。

如果你自己无法定制，你可能需要在 #Marketplace 中找人帮你做。
