# 오류로 인해 관리자 권한을 부여할 수 없음

**URL:** https://meta.discourse.org/t/unable-to-grant-admin-rights-due-to-error/358170
**Category:** Bug
**Created:** [3월 20, 2025, 3: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:** 4

<div class="post-metadata">

### Author: ![sam](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/sam/32/102149_2.png) [@sam](https://meta.discourse.org/u/sam)
#### Post date: [3월 21, 2025, 3:33오전 UTC](https://meta.discourse.org/t/unable-to-grant-admin-rights-due-to-error/358170/4 "2025-03-21T03:33:45Z")

</div>

이것은 매우 흥미로운 엣지 케이스인 것 같습니다. 셀프 호스팅을 가정할 때, 이것이 무엇을 반환하나요?

```plaintext
./launcher enter app
rails c
Group.pluck(:name, :id)

```

```plaintext
=> [["everyone", 0],
 ["moderators", 2],
 ["admins", 1],
 ["staff", 3],
 ["trust_level_0", 10],
 ["trust_level_1", 11],
 ["trust_level_2", 12],
 ["trust_level_3", 13],
 ["trust_level_4", 14]]

```

Discourse는 이러한 ID에 대해 매우 엄격합니다. staff는 2여야 하고, admins는 1이어야 합니다. 만약 동일한 이름의 다른 그룹이 있다면 문제가 생길 수 있습니다. 또한 `admins`라는 이름의 사용자가 없도록 확인하는 것도 좋습니다.

---

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