added permission check in getCompleteNetwork and
getCompleteNetworkAsPropertyGraph