# 카테고리 밴은 지원되지 않지만 플러그인으로 가능한가요?

**URL:** <https://meta.discourse.org/t/category-ban-is-not-supported-but-would-it-be-possible-with-a-plugin/258025>\
**Category:** Development\
**Tags:** category-moderators\
**Created:** [3월 13, 2023, 10:45오후 UTC](https://meta.discourse.org/t/category-ban-is-not-supported-but-would-it-be-possible-with-a-plugin/258025 "2023-03-13T22:45:07Z")\
**Posts on this page:** 1\
**Showing post:** 11

<div class="post-metadata">

**Author:** ![RGJ](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/rgj/32/523185_2.png) [@RGJ](https://meta.discourse.org/u/RGJ)\
**Post date:** [3월 14, 2023, 1:51오후 UTC](https://meta.discourse.org/t/category-ban-is-not-supported-but-would-it-be-possible-with-a-plugin/258025/11 "2023-03-14T13:51:48Z")

</div>

> [@Stephen](#):
>
> ‘포함되지 않음(not inclusion)’이 사실상 동일한 의미를 가지는데, 굳이 존재해야 하나요?

네, 필요하다고 생각합니다.

> [@RGJ](#):
>
> 이렇게 하면 유지보수도 더 쉬워집니다. 사용자가 50,000명인데 그중 일부만 제외하고 나머지가 모두 카테고리에 접근할 수 있어야 한다면, 그 일부 사용자의 목록을 가져오는 것이 어렵습니다.

@crius 플러그인으로 구현 가능할 것 같습니다. 클라이언트 측에서는 카테고리 직렬화기(serializer)에서 `permissions`를 오버라이드하면 꽤 멀리까지 갈 수 있고, 서버 측에서는 `NewPostManager.add_handler`를 사용해 추가 검사를 넣으면 됩니다.

---

_[View the full topic](https://meta.discourse.org/t/category-ban-is-not-supported-but-would-it-be-possible-with-a-plugin/258025)._
