microscopic-answer-24504
03/12/2022, 10:57 PMdamp-sunset-69236
03/14/2022, 8:18 AMfreezing-solstice-24704
03/14/2022, 9:36 AMdamp-sunset-69236
03/14/2022, 11:00 AMfreezing-solstice-24704
03/14/2022, 11:11 AMnamespace
, object
, and relation
, along with a context (pre-filled with the user ID at auth middleware layer).
I will then implement that with a Keto client and Keto check code using the user ID from the context.
This is then injected as a dependency to the parts of our system that we will need to perform access control checks.
I should theoretically be able to call this method, passing in the context that has been passed down from our Go-kit endpoints, which also contains the user ID, and perform the various checks against our relation tuples.
Do you think this seem like a reasonable direction?damp-sunset-69236
03/14/2022, 11:17 AMfreezing-solstice-24704
03/14/2022, 11:20 AMcareful-wolf-22736
03/14/2022, 5:19 PM