I’m playing with the NodeJS client library and however it was easy to make a check permission call based on the example provided I’m struggling with the other APIs.
I wanted to make a LookupResourceRequest in order to list « documents » a user has « view » permission on. Calling then client.lookupResources I get « INVALID_ARGUMENT ».
zerzio69
02/26/2024, 9:10 AM
I guess I’m wrongly setting the « resourceObjectType » with an ObectReference. I don’t know what to pass there.
zerzio69
02/26/2024, 9:17 AM
Sorry, I just realized I had to pass a simple string as resourceObjectType.
v
vroldanbet
02/26/2024, 9:23 AM
feel free to open a PR to the aforementioned examples repo if you'd like to contribute the example 🙇