borbatus
01/31/2025, 6:37 PMresource_type
that would enable applying permissions on all objects of type; and specific resource definition if I need more granularity; but this doubles the number of check requests cause to check if I have complete access or granular one to the resource
- have a caveat matches_all
and use some keyword to represent the all objects of the given resource type (e.x. all
) and make check against it first and then against the real id provided; I heard caveats affect the performance and if I associate it with every permission check I'm worried that I'd lose SpiceDB scalability
Is there any other way to resolve my problem? And if not, what mentioned approach would you recommend?