# Checking User Existence Rake

**URL:** <https://meta.discourse.org/t/checking-user-existence-rake/311065>\
**Category:** Development\
**Created:** [June 7, 2024, 12:07am UTC](https://meta.discourse.org/t/checking-user-existence-rake/311065 "2024-06-07T00:07:26Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

**Author:** ![codethulu](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/codethulu/32/419120_2.png) [@codethulu](https://meta.discourse.org/u/codethulu)\
**Post date:** [June 7, 2024, 12:07am UTC](https://meta.discourse.org/t/checking-user-existence-rake/311065/1 "2024-06-07T00:07:26Z")

</div>

Hello all, I am currently working on the [discourse-k8s-operator](https://github.com/canonical/discourse-k8s-operator), where I have developed an action that requires checking if the user _exists_. There does not seem to be an existing rake task for this, however (we also noticed a few rake tasks we would expect could exist did not also..)

For our purposes, we have patched discourse, but this feels like a small change that could fit in upstream! I have submitted a [PR](https://github.com/discourse/discourse/pull/27163), look forward to hearing your input!

---

_[View the full topic](https://meta.discourse.org/t/checking-user-existence-rake/311065)._
