# Restrict uploads

**URL:** https://meta.discourse.org/t/restrict-uploads/112688
**Category:** Theme component
**Created:** [March 27, 2019, 11:03am UTC](https://meta.discourse.org/t/restrict-uploads/112688 "2019-03-27T11:03:40Z")
**Posts on this page:** 1
**Showing post:** 16

<div class="post-metadata">

### Author: ![Crius](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/crius/32/317214_2.png) [@Crius](https://meta.discourse.org/u/Crius)
#### Post date: [January 8, 2024, 4:15pm UTC](https://meta.discourse.org/t/restrict-uploads/112688/16 "2024-01-08T16:15:10Z")

</div>

I am noticing this message in console.

> [THEME 6 ‘Restrict Uploads’] To prevent errors in tests, add a `pluginId` key to your `modifyClass` call. This will ensure the modification is only applied once.

Just thought to raise it as it may become a potential issue once the [recent changes](https://meta.discourse.org/t/preparing-for-discourses-upgrade-to-ember-5/287211) go live for everyone.

---

_[View the full topic](https://meta.discourse.org/t/restrict-uploads/112688)._
