--- junk.module	2010-04-21 13:40:58.000000000 +0400
+++ junk.module	2011-01-06 03:40:37.807549384 +0300
@@ -130,6 +130,7 @@
   $perms = array('clear junk', 'junk any content', 'restore any content from junk', 'administer junk');
   $types = node_get_types();
   foreach ($types as $type) {
+    $perms[] = 'junk any '.$type->type.' content';
     $perms[] = 'junk own '.$type->type.' content';
   }
   return $perms;
@@ -157,13 +158,17 @@
   if (!user_access('access content', $account)) {
     return FALSE;
   }
-   
+
   if (user_access('junk any content', $account))
   {
     return TRUE;
   }
-  
+
   $name = check_plain($node->type);
+  if (user_access('junk any '.$name.' content')) {  
+    return TRUE;
+  }
+
   if (user_access('junk own '.$name.' content') && $node->uid == $account->uid) {  
     return TRUE;
   }
