Avatar

Level 4

Hi @Milan_Vucetic @DavidKangni @isahore 

 

I want to give schema access to those users only who login as admin or internal and the users who have "company" as operatorGroup/namedRight.

I tried below logic in the schema but its not working.

 

<sysFilter name="readAccess">
<condition enabledIf="true" expr="hasNamedRight('bank')=true OR $(login)='admin' OR $(login)='internal'"/>
</sysFilter>

 

What should I do?

 

Thanks,