--- publishcontent.module	2009-04-04 20:00:22.000000000 -0700
+++ publishcontentNew.module	2009-11-16 17:54:05.000000000 -0800
@@ -49,10 +49,10 @@ function publishcontent_menu_alter(&$cal
 }
 
 function _publishcontent_view_access($node) {
-  return user_access('  publish *all* content') ||
+  return user_access('publishing *all* content') ||
          user_access('unpublish *all* content') ||
-         user_access('  publish '. check_plain($node->type) .' content') ||
-         user_access('unpublish '. check_plain($node->type) .' content') ||
+         user_access('publishing any '. check_plain($node->type) .' content') ||
+         user_access('unpublish any '. check_plain($node->type) .' content') ||
          node_access('view', $node);
 }
 
@@ -62,9 +62,9 @@ function _publishcontent_publish_access(
   }
 
   global $user;
-  return !$node->status && (user_access('  publish *all* content') ||
-                           (user_access('  publish own '. check_plain($node->type) .' content', $user) && $user->uid == $node->uid) ||
-                            user_access('  publish '. check_plain($node->type) .' content'));
+  return !$node->status && (user_access('publishing *all* content') ||
+                           (user_access('publishing own '. check_plain($node->type) .' content', $user) && $user->uid == $node->uid) ||
+                            user_access('publishing any '. check_plain($node->type) .' content'));
 }
 function _publishcontent_unpublish_access($node, $token = FALSE) {
   if ($token && !drupal_valid_token($token)) {
@@ -73,7 +73,7 @@ function _publishcontent_unpublish_acces
   global $user;
   return $node->status && (user_access('unpublish *all* content') ||
                           (user_access('unpublish own '. check_plain($node->type) .' content', $user) && $user->uid == $node->uid) ||
-                           user_access('unpublish '. check_plain($node->type) .' content'));
+                           user_access('unpublish any '. check_plain($node->type) .' content'));
 }
 
 /**
@@ -85,15 +85,15 @@ function _publishcontent_unpublish_acces
  */
 function publishcontent_perm() {
   $perms = array(
-    '  publish *all* content',
+    'publishing *all* content',
     'unpublish *all* content',
   );
 
   foreach (node_get_types() as $type) {
     if (isset($type->type)) {
-      $perms[] = '  publish '. check_plain($type->type) .' content';
-      $perms[] = '  publish own '. check_plain($type->type) .' content';
-      $perms[] = 'unpublish '. check_plain($type->type) .' content';
+      $perms[] = 'publishing any '. check_plain($type->type) .' content';
+      $perms[] = 'publishing own '. check_plain($type->type) .' content';
+      $perms[] = 'unpublish any '. check_plain($type->type) .' content';
       $perms[] = 'unpublish own '. check_plain($type->type) .' content';
     }
   }
