How Can I Use An Expansion Like %%root or %%user as a parameter for a %function in a role?

I am trying to pass the expansions %%user and %%root to access data which I wish to pass as a parameter in a function that is part of a role. Any Ideas?

Hey Sani - you can probably use something described here - Permission rule for owner user, Apollo GraphQL

Does that help?