ACL in Domian separation

Renuka8
Kilo Guru

HI,

We have different domain separation, at field level like choice list field the domain concept works, but we are facing issues for ACL's, Example An ACL written on a field in one particular domain "ABC" acts on other domains like "XYZ", "123" as well.

Can someone please help on this how do we overcome this.

5 REPLIES 5

solutioningnow
Giga Guru

Hi,



You need to build ACLs with script which should check the Domain condition. Please refer below script for your reference:


var answer = true;


if(gs.getUser().getDomainID() == 'sys_id of domain'){


//put business logic


answer = 'RETURN TRUE/FALSE';


}



Please mark answer as correct/helpful, if it was helpful



Regards,


Solutioner


Logo.png


Enhance Knowledge NOW@ www.solutioningnow.com


http://www.solutioningnow.com/


Thanks it worked fine.


Hi,



Request to mark the answer as correct so that it will not be listed in the unanswered list anymore.



Regards,


Solutioner


Logo.png


Enhance Knowledge NOW@ www.solutioningnow.com


http://www.solutioningnow.com/


I don't have the option to mark it as answered.