Use of accessibleIf with two name rights

Avatar

Avatar
Validate 1
Level 1
TestUserme12
Level 1

Likes

0 likes

Total Posts

3 posts

Correct reply

0 solutions
Top badges earned
Validate 1
View profile

Avatar
Validate 1
Level 1
TestUserme12
Level 1

Likes

0 likes

Total Posts

3 posts

Correct reply

0 solutions
Top badges earned
Validate 1
View profile
TestUserme12
Level 1

08-01-2020

Hi Team,

 

I have a requirement to show PII data to a specific group's Users.

 

For this, I have created an Operator group and added a newly created name right to this group.

 

Now when I try to edit extended Recipients schema to add the new name right I'm not getting proper results.

Below is the example for this:

 

Original one: where only Admin can see the PII data

<attribute accessibleIf="$(login)=='admin'" dataPolicy="smartCase" desc="Recipient first name"
label="First name" length="300" name="firstName" type="string"/>

 

Modified by me for the requirement:

 

<attribute accessibleIf="$(login)=='admin'" enabledIf="hasNamedRight('viewPiiData')=true" dataPolicy="smartCase" desc="Recipient first name"
label="First name" length="300" name="firstName" type="string"/>

 

So, How can modify the above code in such a way where along with admin the group members who have name right (ex: name right internal name is : viewPIIData) both can view the first name?

 

let me know if this information is not sufficient.

 

Accepted Solutions (1)

Accepted Solutions (1)

Avatar

Avatar
Establish
MVP
wodnicki
MVP

Likes

986 likes

Total Posts

1,097 posts

Correct reply

518 solutions
Top badges earned
Establish
Affirm 500
Contributor
Shape 1
Give Back 100
View profile

Avatar
Establish
MVP
wodnicki
MVP

Likes

986 likes

Total Posts

1,097 posts

Correct reply

518 solutions
Top badges earned
Establish
Affirm 500
Contributor
Shape 1
Give Back 100
View profile
wodnicki
MVP

08-01-2020

Hi,

 

Set the accessibleIf attribute to hasNamedRight('viewPiiData').

 

Thanks,

-Jon

Answers (0)