Restrictions to access folder in schema

tejashriw155148

07-06-2020

Hi,

 

How can I add restrictions in the schema - means I have created company operator group. If user doesn't have access to the company operator group, then it should not be able to access in the schema.How can I use sysFilter in schema to access group.

 

Regards,

Tejashri

Accepted Solutions (0)

Answers (2)

Answers (2)

Milan_Vucetic

MVP

07-06-2020

Hi @tejashriw155148 

below conditions will restrict access to all users which not belong to the company group.

<sysFilter name="readAccess"> 
 <condition enabledIf="hasNamedRight('company')=false" expr="FALSE"/>
</sysFilter>

<sysFilter name="writeAccess">  
 <condition enabledIf="hasNamedRight('company')=false" expr="FALSE"/>
</sysFilter>

Regards,

Milan

isahore

18-06-2020

Hi @tejashriw155148 ,

This should work:

 

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

 

Thanks,

Ishan