abstratt/kirra-ui

actions showing in table view are not accurate

abstratt opened this issue · 1 comments

Receive payment should not be showing below:

image

but works correctly on the single object view:

image

Attempting to execute the action does fail due to lack of permissions though.

For the model, see abstratt/cloudfier-sustainable-jersey@63857c7.

That is because the single instance view is checking capabilities, and the instance list view is not.

Checking capabilities is quite expensive, so need to figure out how to deal with this in a way that does not suck in terms of performance.