Conditions for macros

Hi,

I have a dynamic macro for which I’d like to hide a button if the user does not have the permission to edit the space (or the page). After trying inline conditions as context parameters I realized that all conditions evaluate to false, so apparently it is not possible to use those. Is there any possibility to check those permissions from inside the macro?