users unable to work on catalog items reference fields

Ankita Dutta
Tera Contributor

I have created a catalog item. I created some users as well. My catalog item has a variable set and catalog client script that fetches the user details based on the user name, and additionally has 2 reference fields, referencing to core_country table). Only the users with admin roles can select from the reference field and can see the user details populated. Can you tell me am I missing something? What role should I give to my test users, in order to work on the catalog item and select from the reference fields and also see the catalog client script working?

2 ACCEPTED SOLUTIONS

Jaspal Singh
Mega Patron
Mega Patron

Hi Ankita,

Do you mean, users are unable to select username itself in the reference field or do you mean the 2 reference fields that are referenced core_country table are not selected by test users. If latter, check for ACL of type read on core_country table and add relevant role to test users to make it work.

View solution in original post

scott barnard1
Kilo Sage

When you created the Ajax SI for the client script to call what role did you apply to it. It feels like the test users don't have the role to call the Ajax

 

Regards

View solution in original post

4 REPLIES 4

Jaspal Singh
Mega Patron
Mega Patron

Hi Ankita,

Do you mean, users are unable to select username itself in the reference field or do you mean the 2 reference fields that are referenced core_country table are not selected by test users. If latter, check for ACL of type read on core_country table and add relevant role to test users to make it work.

scott barnard1
Kilo Sage

When you created the Ajax SI for the client script to call what role did you apply to it. It feels like the test users don't have the role to call the Ajax

 

Regards

navigate to https://your instance/nav_to.do?uri=%2Fsys_security_acl_role_list.do%3Fsysparm_query%3D%26sysparm_first_row%3D1%26sysparm_view%3D.

 

Look for the name of your script include in the sys_security_acl column. The access role should be in the sys_user_role field

SN_Learn
Kilo Patron
Kilo Patron

Hi @Ankita Dutta ,

 

Is the catalog client script calling any script include? 

If yes, then there will be a ACL created of type 'client_callable_script_include'  that you need to make inactive.

If no, then you have to check the read ACLs of core_company table.

 

Mark this as Helpful / Accept the Solution if this helps

----------------------------------------------------------------
Mark this as Helpful / Accept the Solution if this helps.