# 由于错误，无法授予管理员权限

**URL:** <https://meta.discourse.org/t/unable-to-grant-admin-rights-due-to-error/358170>\
**Category:** Bug\
**Created:** [2025年三月20日 15:34 UTC](https://meta.discourse.org/t/unable-to-grant-admin-rights-due-to-error/358170 "2025-03-20T15:34:27Z")\
**Posts on this page:** 1\
**Showing post:** 10

<div class="post-metadata">

**Author:** ![hannes\_e](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/hannes_e/32/495007_2.png) [@hannes\_e](https://meta.discourse.org/u/hannes_e)\
**Post date:** [2025年三月26日 11:26 UTC](https://meta.discourse.org/t/unable-to-grant-admin-rights-due-to-error/358170/10 "2025-03-26T11:26:38Z")

</div>

是的，这招奏效了！该组确实存在，但有人将其重命名了——由于这基本上破坏了核心功能，我想知道是否应该在 UI 中禁止重命名系统组。

供记录，以防有人遇到类似情况：

```plaintext
docker exec -it app /bin/bash
su - postgres
psql -d discourse
discourse=# update groups set name='staff' where id=3;
\q

```

---

_[View the full topic](https://meta.discourse.org/t/unable-to-grant-admin-rights-due-to-error/358170)._
