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.

SpiceDB Is Open Source

197 pointsby jzelinskieover 3 years ago

14 comments

tmikaeldover 3 years ago
I figured that this is usable directly as a service, we only bring our own authentication layer (password + 2FA) and use SpiceDB to check the permissions?<p>However, the docs mention that we&#x27;re required to have an authzed account, but this is not required when hosting it ourselves?<p>Would be nice to have a step-by-step guide for the self-hosting so that it&#x27;s apparent how the flow goes.<p>PS: Would also like to use it in Cloudflare Workers, but they don&#x27;t support gRPC yet (Only REST and HTTP&#x2F;1.1).
评论 #28718240 未加载
ipodoptover 3 years ago
Looks good.<p>1. How does this compare with Ory Keto?<p><pre><code> https:&#x2F;&#x2F;www.ory.sh&#x2F;keto&#x2F;docs&#x2F; </code></pre> 2. Can it be nativity (I can integrate in Postgres SQL) integrated with Row Level Security in Postgres?<p>3. Any interest in supporting TiDB as a backend?<p>Edit: Number questions.
评论 #28711136 未加载
kfkover 3 years ago
Could this product also do row level securiry? For instance by finding all user roles and then generating where clauses to inject to the query automatically?
javituryover 3 years ago
How can one maintain in sync the application database with the permissions database?. Suppose there is a project which uses a postgres database and a spiceDB (backed by a separate database).<p>This project is a &quot;github clone&quot; and a user has decided to delete a repository with all of its related objects. In postgres these related objects delete automatically in cascade. How can I do the same in SpiceDB to avoid leaving garbage tuples behind?
评论 #28718323 未加载
评论 #28715771 未加载
AceJohnny2over 3 years ago
What is your business model?<p>I&#x27;m really excited about this: building a scalable Access Control is a foundational challenge of cloud-scale systems, and I&#x27;m happy to see a new contender.<p>Is this like an &quot;Open-Source Core&quot; model, where the basic core platform is open-source but all the extra features to make it usable (to put it bluntly) in a given org are what you&#x27;re selling?<p>(in my org it takes ~2s to lookup group membership (&amp; thus permission) of a user on a cache miss, which is just shocking. I&#x27;d love it if we migrated to SpiceDB, but of course at our scale that won&#x27;t happen anytime soon)
评论 #28712740 未加载
galkkover 3 years ago
Apache 2.0 license.<p>Call me pessimistic, but I wonder how soon we will see blog post in the style &quot;It was wonderful journey&quot; that will announce AGPL v3 or other style of &quot;shared source&quot; license.
评论 #28714546 未加载
评论 #28715125 未加载
boneabcdover 3 years ago
Awesome to see an open source project in this space! However, the docs say the service is production ready and v1, yet there seem to be no docs on how to run the open source version (except for a brief homebrew example in the README). So how do I run this? For example with a DB?<p>I also noticed that the v0 API is deprecated and discouraged but the v1 API is „work in progress“. To me, that doesn’t inspire confidence that the product is not going to have some breaking changes in API and design?<p>Is there something I am missing?
评论 #28718447 未加载
chromatinover 3 years ago
Oops; I posted on this earlier (by a few hours) submission [1] on SpiceDB story.<p>Reposting (with small edits) here for visibility by founders:<p>Super cool. I’ve been looking at other groups trying to implement such systems, many of which appear very nascent or otherwise missing key features.<p>This looks like it solves a lot of problems for me, a solo developer, trying to build a enterprise-targeted product as a side project (whether that&#x27;s a fool’s errand is another discussion). In particular, correct and efficient implementation of PER OBJECT permission seems like a hard problem, and many other (external) solutions merely control by object type. Building per object control into the product (integrated in the code itself, with no external gateway&#x2F;proxy&#x2F;layer) requires really detailed thought and planning related to ACL, group membership, etc., and any change in plans later means changes to potentially deeply integrated code.<p>QUESTION: Do you see greater value for (a) large teams with huge and complex products involving many moving pieces, that need a consistent AuthZ layer, or (b) small teams that need robust AuthZ and don’t have the time and human power to develop it themselves? (Or c, false dilemma, equally great for both )<p>[1] <a href="https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=28707072" rel="nofollow">https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=28707072</a>
Rapzidover 3 years ago
How is permission introspection on something like this? So not just &quot;does user x have this permission on object y&quot; but &quot;why does user x have permission this permission on user y?&quot;. For something like cascading folder permission insight and etc...
评论 #28714417 未加载
pgtover 3 years ago
I&#x27;ve done some thinking in the ACL space: <a href="https:&#x2F;&#x2F;github.com&#x2F;theronic&#x2F;eacl" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;theronic&#x2F;eacl</a><p>(totally beta software - don&#x27;t use in production)
aidenn0over 3 years ago
ELI5: What is Zanzibar?
评论 #28710825 未加载
评论 #28710776 未加载
评论 #28710765 未加载
评论 #28710801 未加载
tlarkworthyover 3 years ago
That ACL filtered list seems like it could be super useful. Its extremely horrid if a UI is full of controls you don&#x27;t have permission to use.
rad_gruchalskiover 3 years ago
Congratulations! I have looked in depth at Ory Keto some time ago. Will be interesting to take this for a spin and see how it compares.
itakeover 3 years ago
How did it all get started? Did you hack at this in your free time and eventually get an MVP out to share with investors?
评论 #28712147 未加载