# 只允许管理员/版主使用GIF头像

**URL:** <https://meta.discourse.org/t/allow-only-admin-mods-gif-avatars/167135>\
**Category:** Support\
**Created:** [2020年十月13日 22:29 UTC](https://meta.discourse.org/t/allow-only-admin-mods-gif-avatars/167135 "2020-10-13T22:29:31Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![MidnightCheesePizza](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/midnightcheesepizza/32/195297_2.png) [@MidnightCheesePizza](https://meta.discourse.org/u/MidnightCheesePizza)\
**Post date:** [2020年十月13日 22:29 UTC](https://meta.discourse.org/t/allow-only-admin-mods-gif-avatars/167135/1 "2020-10-13T22:29:31Z")

</div>

大家好，

我看到了这个帖子：[https://meta.discourse.org/t/gif-files-as-profile-pics/36291，并且已经成功完成了所有设置。](https://meta.discourse.org/t/gif-files-as-profile-pics/36291%EF%BC%8C%E5%B9%B6%E4%B8%94%E5%B7%B2%E7%BB%8F%E6%88%90%E5%8A%9F%E5%AE%8C%E6%88%90%E4%BA%86%E6%89%80%E6%9C%89%E8%AE%BE%E7%BD%AE%E3%80%82)

我的问题是，是否有办法仅允许特定角色或信任级别的用户使用 GIF 头像？我想先从管理员/版主开始，之后在一段时间内再逐步向受信任的用户开放。这也有助于减轻服务器负载，毕竟我刚开始这个项目。

谢谢！

---

<div class="post-metadata">

**Author:** ![simon](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/simon/32/339122_2.png) [@simon](https://meta.discourse.org/u/simon)\
**Post date:** [2020年十月14日 00:37 UTC](https://meta.discourse.org/t/allow-only-admin-mods-gif-avatars/167135/2 "2020-10-14T00:37:40Z")

</div>

> [@MidnightCheesePizza](#):
>
> 我的问题是，是否有一种方法可以只允许特定角色或信任级别的用户使用 GIF 头像。

可以通过将 `gif` 添加到站点的“员工授权扩展名”站点设置中，并从“授权扩展名”站点设置中移除 `gif`，来实现仅允许站点工作人员（管理员和版主）上传 GIF 头像。目前没有其他方式可以控制其他用户组，因此您无法逐步向列表中添加其他组。此外，这将阻止非工作人员用户在论坛帖子中上传 GIF 文件。

---

<div class="post-metadata">

**Author:** ![codinghorror](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/codinghorror/32/110067_2.png) [@codinghorror](https://meta.discourse.org/u/codinghorror)\
**Post date:** [2020年十月15日 00:42 UTC](https://meta.discourse.org/t/allow-only-admin-mods-gif-avatars/167135/5 "2020-10-15T00:42:07Z")

</div>

本次版本将不再支持动态 GIF 头像，抱歉！

---

<div class="post-metadata">

**Author:** ![orangeandblack5](https://avatars.discourse-cdn.com/v4/letter/o/edb3f5/32.png) [@orangeandblack5](https://meta.discourse.org/u/orangeandblack5)\
**Post date:** [2020年十月15日 02:28 UTC](https://meta.discourse.org/t/allow-only-admin-mods-gif-avatars/167135/6 "2020-10-15T02:28:49Z")

</div>

能否请教一下原因？我暂时不太确定为何认为该删除是一种改进，不过显然我还不了解全部情况。

---

<div class="post-metadata">

**Author:** ![codinghorror](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/codinghorror/32/110067_2.png) [@codinghorror](https://meta.discourse.org/u/codinghorror)\
**Post date:** [2020年十月15日 03:36 UTC](https://meta.discourse.org/t/allow-only-admin-mods-gif-avatars/167135/7 "2020-10-15T03:36:16Z")

</div>

![409567885_abc3d57fd4](https://global.discourse-cdn.com/meta/original/3X/6/6/668895aaa98fbb329d45e950846576e8915ccaf3.jpeg)

---

<div class="post-metadata">

**Author:** ![riking](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/riking/32/170938_2.png) [@riking](https://meta.discourse.org/u/riking)\
**Post date:** [2020年十月15日 05:10 UTC](https://meta.discourse.org/t/allow-only-admin-mods-gif-avatars/167135/8 "2020-10-15T05:10:16Z")

</div>

GIF 图像处理管道中还存在一些技术问题。

由于动态头像本身效果不佳，因此无人愿意投入精力去修复这些问题。
