You are here

function node_service_load_access in Services 5

1 string reference to 'node_service_load_access'
node_service_service in services/node_service/node_service.module
Implementation of hook_service().

File

services/node_service/node_service.module, line 124
The module which exposes services related to nodes

Code

function node_service_load_access($nid) {
  $node = node_load($nid);
  return node_access('view', $node) && user_access('load raw node data');
}