Copied to clipboard

Flag this post as spam?

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


  • Rafe 21 posts 42 karma points
    Feb 15, 2011 @ 17:32
    Rafe
    1

    prevent user from emptying recycle bin

    Does anyone know how to prevent users from emptying the recycle bin? I don't see any permissions anywhere for this.

  • Jan Skovgaard 11280 posts 23678 karma points MVP 11x admin c-trib
    Feb 15, 2011 @ 21:37
    Jan Skovgaard
    0

    Hi Rafe

    I don't think that it's possible to dissalow at the moment. It seems that anyone that can access the content section will be able to empty the recycle bin.

    Maybe it's possible to hook into an event and prevent this action when done by certain users maybe?

    Otherwise this would be a nice feature suggestion, which can be made on codeplex.com/umbraco

    /Jan

  • Mike Chambers 636 posts 1253 karma points c-trib
    Feb 25, 2011 @ 23:19
    Mike Chambers
    0

    maybe a little bit of jquery to hide the recycle bin?

     

    <ul><li umb:type="content" rel="dataNode" class="closed  loaded" id="1064"><a umb:nodedata="{'menu':'C:,D,MO,SK,UIR,P,Z,T5,L','nodeType':'content','source':'/umbraco/tree.aspx?rnd=5aac760102aa4f80b5e6160a7a8a5274&amp;id=1064&amp;treeType=content&amp;contextMenu=true&amp;isDialog=false'}" class=" sprTree noSpr" style="background-image: url(&quot;/umbraco/images/umbraco/folder.gif&quot;);" href="javascript:openContent('1064');"><div>Home</div></a></li><li umb:type="content" rel="dataNode" class="loaded leaf" id="1948"><a umb:nodedata="{'menu':'C:,D,MO,SK,UIR,P,Z,T5,L','nodeType':'content','source':'/umbraco/tree.aspx?rnd=fe59878d597749efa68682d395749c4c&amp;id=1948&amp;treeType=content&amp;contextMenu=true&amp;isDialog=false'}" class=" sprTree noSpr" style="background-image: url(&quot;/umbraco/images/umbraco/folder.gif&quot;);" href="javascript:openContent('1948');"><div>Login</div></a></li><li umb:type="contentRecycleBin" rel="rootNode" class="closed  loaded last" id="-20"><a umb:nodedata="{'menu':'N,L','nodeType':'contentRecycleBin','source':'/umbraco/tree.aspx?rnd=d95a0a4d6275411c8490fd9cf01bde9b&amp;id=-20&amp;treeType=contentRecycleBin&amp;contextMenu=true&amp;isDialog=false'}" class="sprTree noSpr" style="background-image: url(&quot;/umbraco/images/umbraco/bin.png&quot;);" href="javascript:UmbClientMgr.appActions().openDashboard('content');"><div>Recycle Bin</div></a></li></ul>

     

    looks like you should be able to target li with an id="-20"?

Please Sign in or register to post replies

Write your reply to:

Draft