# כיצד להתאים אישית / לדרוס את נושא השומר באמצעות תוסף

**URL:** <https://meta.discourse.org/t/how-to-customize-override-topic-guardian-through-a-plugin/179739>\
**Category:** Development\
**Created:** [15 בפברואר,‏ 2021,‏ 3:30am UTC](https://meta.discourse.org/t/how-to-customize-override-topic-guardian-through-a-plugin/179739 "2021-02-15T03:30:06Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![hyd504](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/hyd504/32/177122_2.png) [@hyd504](https://meta.discourse.org/u/hyd504)\
**Post date:** [15 בפברואר,‏ 2021,‏ 2:06pm UTC](https://meta.discourse.org/t/how-to-customize-override-topic-guardian-through-a-plugin/179739/4 "2021-02-15T14:06:49Z")

</div>

@pfaffman That is a good idea too. But I think if I can override the can\_create\_topic? method in the TopicGuardian that would be a cleaner solution. Is there any plugin I can refer to that has a similar change?

What I don’t know is how can I make my TopicGuardian subclass from the plugin to replace TopicGuardian in the Guardian class because it is being mixed in rather than dependency injected.

---

_[View the full topic](https://meta.discourse.org/t/how-to-customize-override-topic-guardian-through-a-plugin/179739)._
