Sitecore Media Upload Permissions Issue

Bhavik Patel • 8/7/2015

If you’re using Sitecore 7.2 (or 7.5), you’ll notice that the traditional interface for browsing through media items has been improved. What was once the traditional SHEER version of the media browse/upload user interface has now become a more attractive SPEAK version of that interface. It’s a very welcome change, of course, but I did encounter a small issue with it.

In our case, we had assigned specific permissions to folders in the Media Library for our authors. Certain authors had only read permissions to some folders, while others could write as well. Unfortunately, the new SPEAK media browse/upload interface allows users to begin the upload process to a folder in which they do not have write permissions, and then crashes after the upload completes. Additionally, the side-effect of this crash is that an item is actually created in that folder without any media attached to it. You can see this in the screenshots below.

Media Upload Issue 1

Figure 1. The upload begins, reaches 100%, and then crashes.

Media upload issue 2

Figure 2. An item was created in the Media Library folder, with no media attached.

This posed an issue, because it caused some confusion to users who were uploading images to the media library, and so we could not use the new SPEAK version of media browse/upload interface. If this is an issue for you as well, you can revert to the original SHEER version of the UI by modifying the App_Config\Include\Sitecore.Speak.config file, and commenting out the following line:

<override xmlControl="Sitecore.Shell.Applications.Media.MediaBrowser" with="/sitecore/client/applications/Dialogs/SelectMediaDialog" />

Note that using the older version of the UI also provides additional features that did not make it to the new UI, such as the ability to move and delete items directly from the media browse/upload dialog.

Bhavik Patel

Sitecore Technical Architect

Bhavik Patel is a certified Sitecore developer who has held Sitecore Most Valuable Professional (MVP) status since 2015. He has more than a decade of experience with enterprise-class Sitecore and Microsoft .NET framework development, including Sitecore integration with SharePoint and Business Intelligence solutions. He leads our Sitecore development practice, engineering enterprise-class Sitecore implementations for Government and commercial sector clients. He's an expert at using Sitecore Helix Framework to create re-usable architectures, streamline the integration of front-end development and provide the foundation for SEO-optimized Sitecore marketing websites.

Explore topics:

Other Blog Posts from Bhavik Patel