a lot of these threads circle the same
# spicedb
u
a lot of these threads circle the same pain point: people hit a modeling edge case and aren’t sure if they’re fighting the system or just missing a pattern. schemas that want “same level denied, higher level allowed” or generic group buckets come up over and over. the docs explain primitives well, but the gap is concrete examples of these borderline-programming cases. when answers land, they’re good, but they’re buried days later in threads. feels like one or two canonical “hard schema” examples would save everyone a lot of backtracking.
y
in the sense of having "real-world" schemas that are annotated with what each particular piece of them is doing? something that i've had on my to-do list for a while now but haven't made the time for is a "recipe book," where the idea is that it's organized by use case and then gives a schema structure or two that satisfies that use case. would that cover what you're talking about?
u
yeah, that’s right. annotated, real world schemas where you can point to a line and say “this is why this exists” would close most of the gap I’m seeing. especially for the edge cases that feel simple conceptually but get weird once you try to encode them.
a recipe book organized by use case sounds like the right abstraction. the key thing would be picking cases that are just past the obvious ones, like hierarchical permissions where same level is denied but higher-level is allowed, shared buckets with conditional overrides, that kind of “almost programming” logic. even one or two canonical examples like that would probably get linked constantly and save a ton of repeated explanation.
y
yep, that totally makes sense. both of those examples seem like they would make good recipes.
can you detail the use case of "shared buckets with conditional overrides" a bit more?
8 Views