is it possible to query the list of resources and a list of permissions for each resource for a particular user with one call? I know it's possible to query which resources a user has a specific permission to.
e.g., instead of "Which resources R does user U have permission P on?" I want to ask "Give me all permissions P for each resource R that user U has"
The use case would be enabling and disabling different buttons in a user interface depending on which permissions are available per resource (think of it as a list of resources, each of which could be deleted or changed, and deleting/changing are separate permissions so I'd want to enable/disable those buttons independently. Not a perfect example, but close enough).