Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

SOLVED

Hide specific field for specific Named Rights

rajkumar_r_vin4
Level 2
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
Jonathon_wodnicki
Correct answer by
Community Advisor
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
Jonathon_wodnicki
Correct answer by
Community Advisor
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