# 如何创建只有管理员才能使用的主题？

**URL:** <https://meta.discourse.org/t/how-to-create-a-theme-which-only-administrators-can-use/268500>\
**Category:** Development\
**Created:** [2023年六月15日 17:46 UTC](https://meta.discourse.org/t/how-to-create-a-theme-which-only-administrators-can-use/268500 "2023-06-15T17:46:11Z")\
**Posts on this page:** 1\
**Showing post:** 10

<div class="post-metadata">

**Author:** ![merefield](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/merefield/32/176214_2.png) [@merefield](https://meta.discourse.org/u/merefield)\
**Post date:** [2023年六月16日 04:52 UTC](https://meta.discourse.org/t/how-to-create-a-theme-which-only-administrators-can-use/268500/10 "2023-06-16T04:52:20Z")

</div>

如果恶意行为者发现了安全模式，您的 CSS 对策将无效。

保护 Discourse 的唯一方法是通过后端仔细分配权限。

---

_[View the full topic](https://meta.discourse.org/t/how-to-create-a-theme-which-only-administrators-can-use/268500)._
