Hi @Sharat Koya Schema validation is not supported yet but you can use ChangeFeed to handle the validation as post facto (after the write).
Regards,
Oury
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
Is it possible to force Cosmos DB Graph APIs (germlin) and others to check for attributes on vertices and edges such that we can use it as an attribute based permissioning model?
Hi @Sharat Koya Schema validation is not supported yet but you can use ChangeFeed to handle the validation as post facto (after the write).
Regards,
Oury
hi attribute based access control is not the same as schema validation.
Lets say a node or edge on the graph contains a property that states "superAccessOnly".
When a user logs in to any make a query via gremlin, if the user's AAD token/principle contains the value "superAccessOnly" then any nodes or edges with this property will return. Users without "superAccessOnly" will not see, be able to navigate or get to the properties of the nodes or edges. i.e. something on the gremlin server side filters them out so that the client application/gremlin API user will never see them. This is a common technique to limit access to data at a very fine grain level. I don't think Gremlin/CosmosDB has such a feature?