swift-processor-51967
03/05/2024, 7:08 PMFile
object (aside from creating a relation tuple for every user in the system)? Reading this cat videos example, I see the usage of a "*"
principal, but it states that the value doesn’t really mean anything to Keto and that it’s the application that knows to treat that as public. However, to achieve this then I suppose the application would need to:
1. Query Keto to see if user can view object (in the event of a public object, this will be denied as there won’t be an explicit relation tuple)
2. Query Keto so see if stand-in principal (ie "*"
) can view object
Is that the right way? Always do a second lookup if the first principal is denied?