Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • karen 186 posts 461 karma points
    Jan 29, 2010 @ 22:51
    karen
    0

    Restricting content nodes and the Recycle Bin

    Hi,

    I am trying to restrict users to not add content at the root level.  I have read in other posts to have the 'start' node be below the 'content' node.  Doing this though removes access to the recycle bin, which is located at the root level.  If my users accidentally delete something, they need to be able to recover it (my project managers do not want to have to deal with calls asking to un-delete things).

    So is it possible to move the recycle-bin to a lower level?  Or is it just all or nothing?

    Thanks,
    Karen

  • Stephan Lonntorp 195 posts 212 karma points
    Jan 29, 2010 @ 23:04
    Stephan Lonntorp
    0

    This is just a long-shot, but maybe you could implement an EventHandler, that hooks into OnContentTreeBeforeNodeRender, check if you're at the top level, and simply remove the "Create" option.

    Maybe a bit of a hack, but probably solves your problem.

    I wrote a blog-post on this earlier today, http://blog.bigfinger.se/2010/1/29/removing-the-create-option-from-the-context-menu-in-umbraco.aspx, and maybe you could simply check and see if your at the top of the tree. Or if node.NodeID is "-1", which I think is the root node in the content tree.

  • Seth Niemuth 275 posts 397 karma points
    Jan 30, 2010 @ 11:44
    Seth Niemuth
    0

    What you can do already in the UI is give them a start node of 'Content' and just remove their permissions on content and then give their permissions on whatever lower level. That way they can't create things right under content or do anything with those top nodes but only with their nodes...if you really want them to have the recycle bin. Your project managers wouldn't get as many calls as you think, people would rather not have to call someone to get undeleted, so they would be more careful.

  • This forum is in read-only mode while we transition to the new forum.

    You can continue this topic on the new forum by tapping the "Continue discussion" link below.

Please Sign in or register to post replies