Expand my Community achievements bar.

SOLVED

Hide specific field for specific Named Rights

Avatar

Level 2

Hi Everyone,

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!

Raj

1 Accepted Solution

Avatar

Correct answer by
Community Advisor

Hi,

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.

Thanks,

-Jon

View solution in original post

1 Reply

Avatar

Correct answer by
Community Advisor

Hi,

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.

Thanks,

-Jon