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

**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:** 1

<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,‏ 3:30am UTC](https://meta.discourse.org/t/how-to-customize-override-topic-guardian-through-a-plugin/179739/1 "2021-02-15T03:30:06Z")

</div>

I am getting a plugin developed that will add a boolean value based on some custom logic to the user\_custom\_fields table for each user who is not allowed to create a new topic.

`user.custom_fields['can_create_topic'] = false;`

**What I want to do?**  
I want to hide the “+ New Topic” button for some users based on custom logic.

**Question**  
Is it possible to customize can\_create\_topic? guardian so that it performs an additional check on a user\_custom\_field to determine if a user is allowed to create a new topic or not?

---

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