Tyler V.
Tyler V.

Reputation: 2561

Can't create an Item link to the Media Library, even though permissions allow read access

In my Sitecore site, we have a template called Link, with a field called Item, which is a Droptree with an empty source. In theory Items that use the Link template should be able to reference any other Item in Sitecore. Today I found a problem that some (non-admin) users were unable to reference Items in the Media Library. Why would a user with full read access to the Media Library, not be able to select an Item in the Media Library from a DropTree?

Upvotes: 3

Views: 409

Answers (1)

Tyler V.
Tyler V.

Reputation: 2561

After some investigation I found that this was dependent on which view the user logged in with: Desktop or Content Editor.

The problem turns out that a Droptree with an empty source is going to be relative to the users starting position in the content tree. When users were logging into the Content Editor view, their starting position is set to /sitecore/content/ by default. I was able to give them access to the Media Library in through a Droptree by setting the field's source to "/" which gives them access to everything under /sitecore/

I hope this helps someone else.

Upvotes: 2

Related Questions