Still on Drupal 7? Security support for Drupal 7 ended on 5 January 2025. Please visit our Drupal 7 End of Life resources page to review all of your options.
Finished implementation of drupal's node_access system. Via usage of hook_node_grants();, node_access_rebuild(); and hook_node_access();. Implemented NodeAccess() class for the "grants" creation. This fixes issue https://www.drupal.org/node/2832160 and https://www.drupal.org/node/2816679. Thanks to users Yoris00 and akleinwaechter for reporting.