Hello everyone,
I'm working on a custom permission group and a custom application role based on it.
The request is to filter the sections in the data explorer section of the portal such as user account and system roles based on the user application role that is named like "UAM Team - ASIA", where "ASIA" can change based on the user country.
The UNSRootB have a custom field called "CCC_RegionalScope" and it will be "ASIA" in the previous case or different based on the country.
The UNSRootB description has the same value of the field CustomProperty01 in the ESet Table
I added a viewing condition to the tables UNSAccountB and ESet in the permission group associated as below:
UNSAccountB:
UID_UNSRootB IN
(SELECT R.UID_UNSRootB From PersonInAERole PIAE
JOIN AERole A ON PIAE.UID_AERole = A.UID_AERole
JOIN UNSRootB R ON 'UAM Team - ' + R.CCC_RegionalScope = A.Ident_AERole
WHERE PIAE.UID_Person = '%UserUID%')
ESet:
CustomProperty01 IN (SELECT R.Description FROM PersonInAERole PIAE JOIN AERole A ON PIAE.UID_AERole JOIN UNSRootB R ON 'UAM Team - ' + R.CCC_RegionalScope = A.Ident_AERole WHERE PIAE.UID_Person = '%UserUID%')
I used the same queries in the edit and insert condition and they correctly work.
I cannot edit or insert ESet and UNSAccountB when they are different from my country.
But the viewing condition does not filter the data explorer list in each section.
Is there a way to filter these sections based on the values i have?
Thank you!
Francesco