api icon indicating copy to clipboard operation
api copied to clipboard

Provide a way of distinguishing between user types

Open miparnisari opened this issue 1 year ago • 0 comments

We don't have a good way to distinguish between different user types (user:x, group:x#member, and user:*) in a strongly typed way and so in ListObjects we are forced to do this:

https://github.com/openfga/openfga/blob/e9bd83df3f61550d1704e14abbb47a2474cb8abf/pkg/server/commands/connected_objects.go#L30C1-L83

miparnisari avatar Jul 20 '23 23:07 miparnisari