-
Notifications
You must be signed in to change notification settings - Fork 41
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
rewrite intro to materialize #335
base: main
Are you sure you want to change the base?
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
df03df0
to
36ba4e3
Compare
36ba4e3
to
25e1178
Compare
|
||
## Current Limitations | ||
on the path of permissions computed by Materialize, it will error out. However, your schema can still include them. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
To be confirmed: does it error out? It is just my assumption
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
correct, so long it's not in the reachability path of a watched permission, Materialize will not complain. If it does, the hydrator will fail
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
can I mention "hydrator" here or is that too much information?
25e1178
to
3d21b4b
Compare
ae48247
to
7417cd5
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
See comments, otherwise LGTM
7417cd5
to
7601e0f
Compare
7601e0f
to
988f0aa
Compare
Updates occur after a relationship is written that affects a subject's membership in a permission set or a set’s permission on a specific resource. | ||
The intent is for users to process these updates and store them to form a precomputed and denormalized view of SpiceDB permissions. | ||
AuthZed Materialize is inspired by the Leopard index component described in the [Zanzibar paper](https://zanzibar.tech/2IoYDUFMAE:0:T). | ||
Much like the concept of a materialized view in relational databases, AuthZed Materialize is a service that computes how permissions change after relationships |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Much like the concept of a materialized view in relational databases, AuthZed Materialize is a service that computes how permissions change after relationships | |
Much like the concept of a materialized view in relational databases, AuthZed Materialize precomputes specified permissions defined in your SpiceDB schema. |
988f0aa
to
25c9f34
Compare
[Dedicated]: ../guides/picking-a-product#dedicated | ||
AuthZed Materialize is inspired by the Leopard index component described in the [Zanzibar paper](https://zanzibar.tech/2IoYDUFMAE:0:T). | ||
Much like the concept of a materialized view in relational databases, AuthZed Materialize is a service that computes how permissions change after relationships | ||
are written, when those relationships affect a subject's membership in a permission set or a set’s permission on a specific resource. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
not only relationships - but also schemas
|
||
## Current Limitations | ||
on the path of permissions computed by Materialize, it will error out. However, your schema can still include them. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
correct, so long it's not in the reachability path of a watched permission, Materialize will not complain. If it does, the hydrator will fail
25c9f34
to
9697381
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM!
My goal was to make the text flow better. So I structured it like so: