# 비관리자의 귓속말 접근 권한

**URL:** <https://meta.discourse.org/t/non-moderator-access-to-whispers/226756>\
**Category:** Feature\
**Tags:** completed, whispers\
**Created:** [5월 11, 2022, 1:58오후 UTC](https://meta.discourse.org/t/non-moderator-access-to-whispers/226756 "2022-05-11T13:58:50Z")\
**Posts on this page:** 1\
**Showing post:** 2

<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:** [5월 12, 2022, 5:00오전 UTC](https://meta.discourse.org/t/non-moderator-access-to-whispers/226756/2 "2022-05-12T05:00:40Z")

</div>

> [@Colin\_Mueller](#):
>
> 요약: 우리 직원들은 모두 속삭임(whispers)을 볼 수 있어야 하지만, 모더레이터가 필요한 사람은 극소수입니다.

정말 흥미로운 문제이며, 말씀하신 내용에 깊이 공감하며 이 권한이 그룹 기반으로 설정되어야 한다는 데 동의합니다.

하지만 내부 구조가 어떻게 설계되었는지 때문에 이는 큰 변경 사항입니다.

겉으로 보기에는 단순한 변경처럼 보일 수 있습니다… 이 두 가지 메서드만 다시 작성하면 되니까요:

> <https://github.com/discourse/discourse/blob/19677ce3f62ce0f6619040bfbf5fc87e2b0ac3ee/lib/guardian/topic_guardian.rb#L38-L44>

하지만 Discourse 내부에서 이 변경이 미치는 영향은 꽤 깊습니다.

> <https://github.com/discourse/discourse/blob/19677ce3f62ce0f6619040bfbf5fc87e2b0ac3ee/app/models/topic.rb#L1908-L1908>

심지어 속삭임을 포함한 최고 게시글 번호(highest\_post\_number\_including\_whispers)를 추적하는 컬럼이 있지만, 실제로는 highest\_staff\_post\_number라고 불립니다.

여기서의 또 다른 복잡성은 사용자가 속삭임을 볼 수 있는지 여부를 결정하기 위해 그룹 확인이 필요하다는 점입니다. 현재는 단순히 사용자 레코드만 조회하면 되므로 확인 비용이 더 저렴합니다.

이 문제를 내부 논의용 북마크로 저장하고, 여기서 할 수 있는 일이 있는지 알아보겠습니다. 하지만 불행히도 복잡도가 꽤 높습니다.

---

_[View the full topic](https://meta.discourse.org/t/non-moderator-access-to-whispers/226756)._
