Grabbing all posts from user

Hello,
I’m playing around with composedb and I’m trying to get all posts from users. The query below which grabs all posts only works for my admin-did (did:key:z6…ZWVM) - I’m not able to grab all posts for other dids

query MyQuery {
  node(id: "did:key:z6MkisKqwNn5jdw6yVb9zvyhy6vsMnXJSFd7MPEA8QvLZWVM") {
    ... on CeramicAccount {
      id
      pPostList(first: 10) {
        edges {
          node {
            content
            creator {
              id 
            }
          }
        }
      }
    } 
  }
}

I can see that the posts for other dids do exist by querying for all existing posts

query MyQuery {
  pPostIndex(first: 100) {
    edges {
      node {
        content
        date
        id
        creator {
          id
        }
      }
    }
  }

but 0 posts are returned when I query for all posts for a specific did (besides admin-did) I think I may be missing a crucial concept.

edit: oh maybe it has to do with access control of streams, currently looking into that

Thanks!

All streams in Ceramic are public, so it shouldn’t be an access control issue. @eric can you take a look at this?

@spencer @teddy

Happy to look into this. Can you please provide me with the contents of your ceramic daemon config?

Yeah thanks my daemon config is

{
  "anchor": {
    "auth-method": "did"
  },
  "http-api": {
    "cors-allowed-origins": [
      ".*"
    ],
    "admin-dids": ["did:key:z6MkisKqwNn5jdw6yVb9zvyhy6vsMnXJSFd7MPEA8QvLZWVM"]
  },
  "ipfs": {
    "mode": "bundled"
  },
  "logger": {
    "log-level": 2,
    "log-to-files": false
  },
  "metrics": {
    "metrics-exporter-enabled": false
  },
  "network": {
    "name": "testnet-clay"
  },
  "node": {
    "privateSeedUrl": "inplace:ed25519#a8e0ef74d12124ad9bdb1dc6b5aab6e3601a283f8e6741f844c0d840a0389212"
  },
  "state-store": {
    "mode": "fs",
    "local-directory": "/Users/user/.ceramic/statestore/"
  },
  "indexing": {
    "db": "sqlite:///Users/user/.ceramic/indexing.sqlite",
    "allow-queries-before-historical-sync": true,
    "disable-composedb": false,
    "enable-historical-sync": false,
    "models": [
      "kjzl6hvfrbw6c8pm6p56tk40phqn8mmuoy72k6l0osftcukri4huho907soimzx",
      "kjzl6hvfrbw6c8n58dm9yrb7326un8oey9ly4kgb5j70dpt0h7kvlrcywdz0rnd"
    ]
  }
}

Thanks. Can you remove the following GQL from line 2 of your query and let me know how it goes?

(id: "did:key:z6MkisKqwNn5jdw6yVb9zvyhy6vsMnXJSFd7MPEA8QvLZWVM")

sorry I’m not fully following, is this what you had in mind by removing the GQL from line 2

In which case I get an error that the ID field is required

{
  "errors": [
    {
      "message": "Field \"node\" argument \"id\" of type \"ID!\" is required, but it was not provided.",
      "locations": [
        {
          "line": 2,
          "column": 3
        }
      ]
    }
  ]
}