Access __user__group.code in canNew condition

I’ve tried this but didn’t worked:

<grid name="scheme-grid" title="Surprise" canNew="$get('__user__.group.code')=='super_admin'" model="com.ips.apps.axelor.db.Surprise" width="mid">

try user.group.code = ‘groupname’

it removed __ from start

Personnally, I use __user__ and it works. I think you should remove ’ before and after the value, to do something like that:
<grid name="scheme-grid" title="Surprise" canNew="$get(__user__.group.code) == 'super_admin'" model="com.ips.apps.axelor.db.Surprise" width="mid">