# 创建用户-标签关联插件

**URL:** https://meta.discourse.org/t/creating-a-user-tag-relation-plugin/235208
**Category:** Development
**Created:** [2022年八月5日 10:02 UTC](https://meta.discourse.org/t/creating-a-user-tag-relation-plugin/235208 "2022-08-05T10:02:14Z")
**Posts on this page:** 1
**Showing post:** 4

<div class="post-metadata">

### Author: ![pfaffman](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/pfaffman/32/120154_2.png) [@pfaffman](https://meta.discourse.org/u/pfaffman)
#### Post date: [2022年八月5日 12:06 UTC](https://meta.discourse.org/t/creating-a-user-tag-relation-plugin/235208/4 "2022-08-05T12:06:55Z")

</div>

使用 assign 似乎是个好主意。我很确定你可以通过 API 添加用户。请参阅 [如何逆向工程 Discourse API](https://meta.discourse.org/t/how-to-reverse-engineer-the-discourse-api/20576)。

---

_[View the full topic](https://meta.discourse.org/t/creating-a-user-tag-relation-plugin/235208)._
