How to hide 'create new normal change request' interceptor link for a particular DOMAIN

GodaDeviJ
Tera Contributor

How to hide 'create new normal change request' interceptor link for a particular DOMAIN?

 

We have tried creating a ui policy to hide but we are not getting option to select domain field to set the condition,

and also is there any way to create a role where we can restrict viewing particular interceptor for a particular domain

3 REPLIES 3

Nilesh Pol
Tera Guru

@GodaDeviJ no UI policy works, Create access control rules to restrict visibility based on the domain. You can define these rules to control access to specific records of sys_wizard_answer table.

 

Yes, you can restrict perticular link based on the role, clicked on edit interceptor then below list of answer add roles column and add your roles for your required link.

NileshPol_0-1755689095682.png

 

Hi Nilesh,

 

We have tried creating access control list in pdi but there are no different domains(multiple domains) in pdi, So we did not find any option to select particular domain in condition


We have tried to create a new role but here also we did not find any option to select particular domain in condition

 

We have also tried creating in dev instance, We could not  find elevate role option to edit the access control list

can you pls suggest 

 

Shruti
Mega Sage
Mega Sage

Hi,

Create a before query business rule in global domain on sys_wizard_answer table

 

(function executeRule(current, previous /*null when async*/ ) {
    if (gs.getUser().getDomainID() == 'sys_id of domain') {
        current.addQuery('name', '!=', 'answerName');
    }


})(current, previous);