Limit authorization on process variables

Hello,

I’m using Camunda platform run 7.14.
I’m trying to limit read access of some users to process variables.
Under cockpit I’d like user A to be able to see process variables that are related to the tasks she (not anybody else) has completed.
So far I managed to limit user A to see process instances belonging to a certain process definitions, but I can’t go deeper than that.