Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
i have two content nodes in my umbraco site , and i have two users to update/add content on respective nodes, i don't first user to access second node and second to user to access first node .
How can i achieve this? i have tried by right clicking on node and setting permissions from Permissions option but its only works for that node only not the child nodes of it.
You can lock a user into a certain area of the site so that they don't see the other content. To do that you need to specify the start node for the user by selecting the user from the Users section in the back office and setting the Start Node in Content and the 'Start Node in Media Library' properties and saving.
Start Node in Content
In answer to your second point I think it would actually be more helpful if the user permissions cascaded but as you have found I don't think they do. You could possibly write a handler which hooks into the save event for a node and sets the permissions on all descendants but that might incur an unwanted overhead on every save action.
thanks for your reply, yes we can set the start node in user section by which user will be only able to see the dependents of that node in content tree but in the content section we have one another node "repository" which is shared for both the users , so if i will set the start node then user will not be able to access the "repository" node. any idea how to resolve this?
Unfortunately I don't have a solution for that at present and don't think it would be a quick fix.
I have previously thought of developing a custom content tree package that would allow you to achieve this as I don't think it's an uncommon requirement if I am honest. The package in my mind would allow you to select nodes to add to a user's content tree and in doing so would need to either replace or filter the standard Umbraco content tree to only show the nodes selected to be visible to that user.
is working on a reply...
Write your reply to:
Image will be uploaded when post is submitted