We have an issue where we have multiple sites on an installation but would like each site to be able to choose content from a global folder (on the root) on a MNTP. The problem is that the MNTP wont allow access to the folder as it is outwith the start node (their site) so we get the 'you do not have permissions to view this folder' error.
Is there a way to override the start node or anything like that? Any help would be much appreciated. I have downloaded the uComponents source code to see if there is a way I can somehow make this work.
This basically doesnt take into account any permissions set at admin level (start root node) but will allow the mntp to be set to whatever node you explicitly set - even if its outside the administrators site scope.
We recomplied this project and copied in the umbraco.editorControls.dll to our Umbraco site bin folder. This is not ideal as if we upgrade we have to redo but its good for now :)
MNTP - Override Start Node
Hi Guys,
We have an issue where we have multiple sites on an installation but would like each site to be able to choose content from a global folder (on the root) on a MNTP. The problem is that the MNTP wont allow access to the folder as it is outwith the start node (their site) so we get the 'you do not have permissions to view this folder' error.
(similar to this issue...- http://our.umbraco.org/projects/backoffice-extensions/ucomponents/questionssuggestions/19952-Multi-node-tree-picker-and-user-access-permissions?p=0)
Is there a way to override the start node or anything like that? Any help would be much appreciated. I have downloaded the uComponents source code to see if there is a way I can somehow make this work.
Thanks in advance,
Kenny
UPDATE:
I found a workaround for now - but it meant updating the umbraco core - editorControls project.
Basically we have changed lines 168-169 in umbraco.editorControls\MultiNodeTreePicker\FilteredContentTree.cs to:
//m_DeterminedStartNodeId = this.GetStartNodeId(DefinedStartNodeDoc, UserStartNodeDoc);
//return m_DeterminedStartNodeId.Value;
return DefinedStartNodeDoc.Id;
This basically doesnt take into account any permissions set at admin level (start root node) but will allow the mntp to be set to whatever node you explicitly set - even if its outside the administrators site scope.
We recomplied this project and copied in the umbraco.editorControls.dll to our Umbraco site bin folder. This is not ideal as if we upgrade we have to redo but its good for now :)
Kenny
is working on a reply...