Hey @random birch, we've moved your question here. In future, please ask questions in one of the help channels as per the server rules.
Your original message was:
How to access user role name in Field interface filter.
I want to apply filter on field based on user role. I'm trying to access it like this $CURRENT_USER.role.name but it is not working.
Can someone tell me what is inside $CURRENT_USER
If there was additional context, @astral reef will add it here for you. Your original post has been deleted.