I am really curious to know about
# spicedb
t
I am really curious to know about caveats more. I have seen some blogs but looks to be really brief with the ip addresses. Is there any detailed document for the same?
v
we have some documentation at https://authzed.com/docs/reference/caveats
j
@techlearner_71935_63896 if you have any other specific questions too, let us know
t
The use case is that we have to implement something based on multiattribute of user. Example - a user could be an electrician, plumber etc. so they should view only some specific parts based on the work they do even if they are in the same group. Was just thinking if this could be solved using caveats
j
it can be, but usually you'd do that using an intersection
t
intersection would be an expensive operation. So a bit reluctant to use that.
j
less expensive than a caveat in many cases
intersection is designed for this case