I want to hide email field or field values from specific Named Rights or Specific operator group.
The below one works based on login name.
<attribute name="email" accessibleIf="$(login)=='admin'"/>
But I need to restrict for specific group. Please let me know how to achieve this.
Thanks in advance!
Use hasNamedRight() as the conditional, e.g.: accessibleIf="hasNamedRight('admin')=true".
Then add the right to the group you're interested in, usually you're creating a right named after the group.