Joseph Schorr
Joseph Schorr
So this raises an interesting question: The change stream is created via one of the migrations, but the retention period is configured in the same statement... so it would have...
@jwineinger in your example, is the filter "comes from the org#member" *or* is it "the `org` of the `resource` is (insert org here)"
@jwineinger and what if a resource is under multiple organizations? I assume you still want it returned?
@jwineinger Coming back to this after some recent LR work; do you want it to be filtered by a specific *resource* or a *resource+permission* (such as organization:org1#view)? I think with...
@benkroeger in your above example, the permission is `read` on the `post`, but you're walking through `organization:org1`. My question is: do you just want to walk through `organization:org1` *or* a...
Okay; with the work we've been doing as part of LR2 (see: https://github.com/authzed/spicedb/pull/1905), this might be a fairly straightforward thing to do as a followup; I'll have to give some...
Could also use a `oneof`, but that would break the generated code (while maintaining API-level compatibility). The other consideration is overlap in the transaction: what happens if you add a...
Actually, that's just an implementation detail. In the current code, if you set an update over the *same* relationships, an error is raised: https://github.com/authzed/spicedb/blob/main/internal/services/v1/relationships.go#L166 This would have to change for...
Closing since this is now merged. A followup with a service for counting will be added if need be. Fixes https://github.com/authzed/spicedb/pull/1901