# Add to serializer only for staff and current user

**URL:** <https://meta.discourse.org/t/add-to-serializer-only-for-staff-and-current-user/155261>\
**Category:** Development\
**Created:** [June 18, 2020, 6:50pm UTC](https://meta.discourse.org/t/add-to-serializer-only-for-staff-and-current-user/155261 "2020-06-18T18:50:21Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![justin](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/justin/32/157614_2.png) [@justin](https://meta.discourse.org/u/justin)\
**Post date:** [June 18, 2020, 7:33pm UTC](https://meta.discourse.org/t/add-to-serializer-only-for-staff-and-current-user/155261/4 "2020-06-18T19:33:41Z")

</div>

You could try an additional serializer call like this:

> <https://github.com/discourse/discourse-intercom/blob/22bdd11e1eb4ef284a86b6e5a36fcf0bf5990d4e/plugin.rb#L9>

I haven’t tested this so you’ll want to make sure it’s secured as you need.

---

_[View the full topic](https://meta.discourse.org/t/add-to-serializer-only-for-staff-and-current-user/155261)._
