# "geen bestanden geautoriseerd om te uploaden" bij het wijzigen van het logo

**URL:** <https://meta.discourse.org/t/no-files-are-authorized-to-be-uploaded-when-trying-to-change-logo/359573>\
**Category:** Bug\
**Created:** [31 maart 2025 om 03:12 UTC](https://meta.discourse.org/t/no-files-are-authorized-to-be-uploaded-when-trying-to-change-logo/359573 "2025-03-31T03:12:59Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

**Author:** ![mpalmer](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/mpalmer/32/45740_2.png) [@mpalmer](https://meta.discourse.org/u/mpalmer)\
**Post date:** [31 maart 2025 om 03:12 UTC](https://meta.discourse.org/t/no-files-are-authorized-to-be-uploaded-when-trying-to-change-logo/359573/1 "2025-03-31T03:12:59Z")

</div>

I’ve got a site admin trying to update the logo on their site, but they’re getting the error “Sorry, no files are authorized to be uploaded”. Based on my reading of the code, it appears that should only be reported if `authorizesOneOrMoreExtensions` returns `false`, and that function should return `true` if the user is a staff member and `authorized_extensions_for_staff` contains `*`, and on this site:

```ruby
discourse(prod)> SiteSetting.authorized_extensions
=> ""
discourse(prod)> SiteSetting.authorized_extensions_for_staff
=> "*"

```

Based on this, I’m somewhat perplexed as to how they’re possibly seeing that error, and I’m assuming I’m misunderstanding how the code works. Pointers as to what I’m getting wrong, or further avenues for investigation, would be greatly appreciated.

I’m relatively confident that the user who I’m supporting is, indeed, logged in as an admin, since the screenshot they’ve shared with me (sorry, I can’t post it publicly for non-disclosure reasons) is of the “Admin \> Site logo” page, with the error dialog showing the above error superimposed over it. If there’s a plausible explanation for how/why a non-staff member could end up on that screen, I’d be willing to give temporarily changing the user file extensions setting a go, but the site owners are quite adamant about not letting ordinary users upload media, so it’s not something to undertake lightly.

---

_[View the full topic](https://meta.discourse.org/t/no-files-are-authorized-to-be-uploaded-when-trying-to-change-logo/359573)._
