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

StackOverflow https://stackoverflow.com/questions/14513057

  •  17-01-2022
  •  | 
  •  

Frage

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?

War es hilfreich?

Lösung

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.

Lizenziert unter: CC-BY-SA mit Zuschreibung
Nicht verbunden mit StackOverflow
scroll top