Restriction of records based on choice selected

Ramu8
Tera Expert

Hi all

 

I have requirment to restrict records which have impact as high for some of the groups the sysids of that groups are defined in properties so please suggest how to create acl

9 REPLIES 9

piyushsain
Tera Guru
Tera Guru

Hi @Ramu8 

Please create a table level read ACL , and in the script use:

var tag = false
var group = gs.getProperty('property_name');
group = group.split(',');
for(var key in group){
if(group[key] == current.assignment_group){
tag = true;
}
if(current.impact = 'high' && tag ) // add the correct value of high
return true;
If my answer has helped with your question, please mark my answer as accepted solution and give a thumb up.
Regards,
Piyush Sain

Thanks for quick response @piyushsain @ but I think current.impact will not work in acl and also please confirm table name and none or table* while creating ac

what is the name of impact field update accordingly with correct value, use == instead of = in the script

If my answer has helped with your question, please mark my answer as accepted solution and give a thumb up.
Regards,
Piyush Sain

@piyushsain could you please confirm table level ACL can be created by selecting table name none or table Name and *