code: def test_directly_call_service_no_permission(guest_domain_client):
      api_call = SyftAPICall(
          node_uid=guest_domain_client.id,
          path="user.get_all",
          args=[],
          kwargs={},
      )
      signed_call = api_call.sign(guest_domain_client.api.signing_key)
      signed_result = guest_domain_client.api.connection.make_call(
          signed_call
      )
      result = signed_result.message.data
      assert isinstance(result, SyftError)
  
file_path: PySyft/packages/syft/tests/syft/service_permission_test.py
imports: import pytest
  from syft import SyftError
  from syft.client.api import SyftAPICall
label_desc: Use image node_id 5 for calling a global function with example usage: test_directly_call_service_no_permission(guest_domain_client) without return types