Error on publish interface
When an item is published a logged in user can see the publish interface at [url]/:4000
However a non-logged in user should also see the same interface at the same url but instead they see an error eg:
{"graphQLErrors":[{"name":"GraphQLError","message":"Cannot read property 'id' of undefined","extensions":{"code":"INTERNAL_SERVER_ERROR"}},{"name":"GraphQLError","message":"Cannot read property 'id' of undefined","extensions":{"code":"INTERNAL_SERVER_ERROR"}},{"name":"GraphQLError","message":"Cannot read property 'id' of undefined","extensions":{"code":"INTERNAL_SERVER_ERROR"}},{"name":"GraphQLError","message":"Cannot read property 'id' of undefined","extensions":{"code":"INTERNAL_SERVER_ERROR"}},{"name":"GraphQLError","message":"Cannot read property 'id' of undefined","extensions":{"code":"INTERNAL_SERVER_ERROR"}},{"name":"GraphQLError","message":"Cannot read property 'id' of undefined","extensions":{"code":"INTERNAL_SERVER_ERROR"}},{"name":"GraphQLError","message":"Cannot read property 'id' of undefined","extensions":{"code":"INTERNAL_SERVER_ERROR"}},{"name":"GraphQLError","message":"Cannot read property 'id' of undefined","extensions":{"code":"INTERNAL_SERVER_ERROR"}},{"name":"GraphQLError","message":"Cannot read property 'id' of undefined","extensions":{"code":"INTERNAL_SERVER_ERROR"}},{"name":"GraphQLError","message":"Cannot read property 'id' of undefined","extensions":{"code":"INTERNAL_SERVER_ERROR"}},{"name":"GraphQLError","message":"Cannot read property 'id' of undefined","extensions":{"code":"INTERNAL_SERVER_ERROR"}},{"name":"GraphQLError","message":"Cannot read property 'id' of undefined","extensions":{"code":"INTERNAL_SERVER_ERROR"}}],"networkError":null,"message":"Cannot read property 'id' of undefined\nCannot read property 'id' of undefined\nCannot read property 'id' of undefined\nCannot read property 'id' of undefined\nCannot read property 'id' of undefined\nCannot read property 'id' of undefined\nCannot read property 'id' of undefined\nCannot read property 'id' of undefined\nCannot read property 'id' of undefined\nCannot read property 'id' of undefined\nCannot read property 'id' of undefined\nCannot read property 'id' of undefined"}