TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Show HN: Topaz: open-source authorization combining the best of OPA and Zanzibar

132 pointsby ogazittover 2 years ago

9 comments

jzelinskieover 2 years ago
Congrats on the launch!<p>Combining policy with Zanzibar is super cool and it&#x27;s great to see the folks in the OPA ecosystem moving in this direction. Most of the novelty of the Zanzibar paper is about scaling ReBAC systems that might not be applicable in a system that starts with policy. Unfortunately, I found the website a little vague on technical details and had some questions:<p>- I&#x27;m curious how this is different from using an API client in rego, which other projects like OpenFGA and SpiceDB support.<p>- It seems like for the variety of projects in this space &quot;Zanzibar&quot; is used to mean many different things mentioned in the paper. Can you clarify which properties Topaz is inspired by? From the documentation, I can only find references to tuples and union rewrites[0].<p>Disclosure: I work on SpiceDB, an established open source project also &quot;inspired by Zanzibar&quot; that also has policy integrations with OPA and Google&#x27;s CEL.<p>[0]: <a href="https:&#x2F;&#x2F;www.topaz.sh&#x2F;docs&#x2F;directory&#x2F;define-domain-model" rel="nofollow">https:&#x2F;&#x2F;www.topaz.sh&#x2F;docs&#x2F;directory&#x2F;define-domain-model</a>
评论 #33319971 未加载
bradheover 2 years ago
Ah, super cool to see an implementation of Zanzibar out in the wild. The paper looked really interesting when it bubbled up on HN a while back.<p>Wonder if there are planned integrations with any stacks? For instance, would be super cool to see how this could plug into Rails&#x2F;ActiveRecord for a kind of out-of-the-box authorization experience.
评论 #33318930 未加载
评论 #33318259 未加载
评论 #33320383 未加载
Blokje5over 2 years ago
I actually worked on an implementation based on the Zanzibar paper using OPA at the previous company I worked at. We actually used a Proxy running in front of the microservice to determine whether the request was authorized or not.<p>We were working in Healthcare and the authorization requirements for healthcare are quite complicated. Every Microservice needed to handle 50 different roles and get the permissions right for each endpoint, so a more centralised approach made a lot of sense to prevent these types of mistakes<p>Cool to see an open source implementation of the idea. Authorization in general is such a hard topic to get right in a microservice architecture. I&#x27;d be happy to take a look at the project and see if I can contribute as well!
评论 #33332156 未加载
janczuktover 2 years ago
Great to see an authz app building block based on a robust model as OSS. This is one of those things every app needs but so far most folks were building it in-house (as I can attest myself) instead of focusing on what really moves their app forward. I wish it was available a few years ago when we were starting.
评论 #33342163 未加载
fleddrover 2 years ago
You may have some SEO problems with a name like that. Topaz is a very popular suite of (AI-driven) photo editing tools.
评论 #33326892 未加载
评论 #33328076 未加载
renszarvover 2 years ago
Yet another golang gRPC authorization framework... That couple of ms response time for a decision could be fine,if you only call a couple of time per request,but its quickly adds up
评论 #33322296 未加载
ogazittover 2 years ago
Two years ago, we founded Aserto to simplify authorization for developers. Authorization is critical and hard to get right, yet isn&#x27;t a source of differentiation for most applications.<p>Google [1], Airbnb [2], Netflix [3], Carta [4], Intuit [5], and others have written about their authorization systems. It&#x27;s clear that these are all significant undertakings by sizable teams. Most engineering organizations don&#x27;t want to spend their precious cycles reinventing this wheel.<p>Over the last two years, we&#x27;ve collected a set of best practices that are common across these projects. We call these the Principles of Authorization [6]. Our goal has been to democratize these principles into an authorization service, and save you time and effort.<p>Topaz [7] is an open source authorization system you can use to start building robust authorization in minutes. It provides fine-grained, real-time, policy-based access control for modern cloud applications. You can deploy it as a sidecar or a microservice in your cloud, ensuring low latency to your application.<p>Topaz combines the best ideas from two cloud-native authorization ecosystems: OPA and Zanzibar. Read our blog post [8] for more on why we built Topaz.<p>Happy hacking!<p>[1] <a href="https:&#x2F;&#x2F;research.google&#x2F;pubs&#x2F;pub48190&#x2F;" rel="nofollow">https:&#x2F;&#x2F;research.google&#x2F;pubs&#x2F;pub48190&#x2F;</a><p>[2] <a href="https:&#x2F;&#x2F;medium.com&#x2F;airbnb-engineering&#x2F;himeji-a-scalable-centralized-system-for-authorization-at-airbnb-341664924574" rel="nofollow">https:&#x2F;&#x2F;medium.com&#x2F;airbnb-engineering&#x2F;himeji-a-scalable-cent...</a><p>[3] <a href="https:&#x2F;&#x2F;www.infoq.com&#x2F;presentations&#x2F;authorization-scalability&#x2F;" rel="nofollow">https:&#x2F;&#x2F;www.infoq.com&#x2F;presentations&#x2F;authorization-scalabilit...</a><p>[4] <a href="https:&#x2F;&#x2F;medium.com&#x2F;building-carta&#x2F;authz-cartas-highly-scalable-permissions-system-782a7f2c840f" rel="nofollow">https:&#x2F;&#x2F;medium.com&#x2F;building-carta&#x2F;authz-cartas-highly-scalab...</a><p>[5] <a href="https:&#x2F;&#x2F;medium.com&#x2F;intuit-engineering&#x2F;authz-intuits-unified-dynamic-authorization-system-bea554d18f91" rel="nofollow">https:&#x2F;&#x2F;medium.com&#x2F;intuit-engineering&#x2F;authz-intuits-unified-...</a><p>[6] <a href="https:&#x2F;&#x2F;www.topaz.sh&#x2F;docs&#x2F;intro#principles" rel="nofollow">https:&#x2F;&#x2F;www.topaz.sh&#x2F;docs&#x2F;intro#principles</a><p>[7] <a href="https:&#x2F;&#x2F;github.com&#x2F;aserto-dev&#x2F;topaz" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;aserto-dev&#x2F;topaz</a><p>[8] <a href="https:&#x2F;&#x2F;www.aserto.com&#x2F;blog&#x2F;topaz-oss-cloud-native-authorization-combines-opa-zanzibar" rel="nofollow">https:&#x2F;&#x2F;www.aserto.com&#x2F;blog&#x2F;topaz-oss-cloud-native-authoriza...</a>
lakomenover 2 years ago
It looks interesting, but I would rather like a package I can import and use locally than running an independent service, because of latency&#x2F;performance.
apolandover 2 years ago
Great work Aserto team. Exciting to see this code released to the community.
评论 #33319897 未加载