It might have been answered in past
# spicedb
a
It might have been answered in past sorry if i am asking again "is there a way to list all the permissions for a particular user in spicedb"
v
👋 hi, no this is currently not supported. See https://github.com/authzed/spicedb/issues/1173 and it's overarching issue https://github.com/authzed/spicedb/issues/1505
a
Thanks @vroldanbet , then in that case it is looping over a set of permissions and then getting a hashmap of booleans
v
you can achieve something similar if you use
BatchPermissionCheck
API today. The downside is that you have to list all permissions you are interested in.
a
yes
2 Views