We're reclaiming inactive PDIs to keep them available for active builders. Learn what's changing, who's affected, and how to protect your work. Read More

gs.getUserID() acl for read

brendanwilson84
Kilo Guru

Hi Guys

I am having some trouble with ACL. I have two list fields. A watch list and custom list field.

My acl are like this. The only two not working is the list type fields using javascript:gs.getUserID()

find_real_file.png

Can anyone help?

7 REPLIES 7

Apologies, it will be:-


answer = true;


You also have to typecast the trainee_list to string using toString().


thanks sibhajit



No errors this time, but acl still didn't work.


brendanwilson84
Kilo Guru

got it!!


used current.trainee_list.indexOf(gs.getUserID()) > -1;



thanks for taking time and pointing me in right direction


subhajit