Get the latest tech news

Google Zanzibar: Implementing the Check API and Expand API Using .NET (2023)


This article takes the Google Zanzibar a step further and implements the Check API and Expand API in .NET.

In the previous articles we have seen how to implement a very simplified Relationship-based Access Control using a Google Zanzibar-like data model and some SQL queries. Direct relations stored in the database ( ThisUsersetExpression), Computed Usersets ( ComputedUsersetExpression) or inherited permissions ( TupleToUsersetExpression). And now we can finally implement the Expand API to traverse the Expression Tree and evaluate the Rewrite Rules recursively.

Get the Android app

Or read this on Hacker News

Read more on:

Photo of Google

Google

Photo of google zanzibar

google zanzibar

Photo of check api

check api

Related news:

News photo

Google CEO Says Antitrust Trials Could Drag On for Years

News photo

Google sees 68% drop in Android memory safety flaws over 5 years

News photo

Google and Roblox teamed up on a weird game to teach kids about internet safety