diff --git a/modules/gnode/gnode.module b/modules/gnode/gnode.module
index 7dd6f45..076cfd7 100644
--- a/modules/gnode/gnode.module
+++ b/modules/gnode/gnode.module
@@ -88,7 +88,7 @@ function gnode_node_access(NodeInterface $node, $op, AccountInterface $account)
         }
         // Custom version of https://www.drupal.org/node/2876696#comment-12076448
         // since otherwise the below customization won't readily apply.
-        elseif ($group->hasPermission('view own unpublished content') && ($node->getOwnerId() == $account->id())) {
+        elseif ($group->hasPermission('view own unpublished content', $account) && ($node->getOwnerId() == $account->id())) {
           return AccessResult::allowed()->cachePerPermissions()->addCacheableDependency($node);
         }
       }
