adventurous-addition-28416
03/09/2023, 12:51 AMproud-plumber-24205
03/09/2023, 2:26 PMUser:x is in readers of Document:y.
Then later you would have your service to a check using the user's ID to validate if user x is allowed to read document x
Please take a look at
https://www.ory.sh/docs/keto/