Can't get ACL's to work for custom table lookup

EricG2
Tera Guru

Something must have change, and I probably need to go to HI, but I'll start here first.

 

I have a catalog item that has a Reference lookup to specific Application Templates require in User Setup.

On the custom table, I've added the ACL for READ like i've done in the past as:

Name - customtable

Operation - read

Decision - Allow If

Advanced - True

Role - blank

Security Attribute Condition - Local

Data Condition - blank

Advanced Condition

answer = gs.getSession().isLoggedIn();
if (!answer) {
    answer = gs.getProperty('glide.security.allow_unauth_roleless_acl', false);
}

EricG2_1-1777044361078.png

 

We a user tries to select an option - they are getting security constrain error.

We've recently upgraded to Zurich, and when I enable Debug - Security

The popup box shows the debug entries, but doesn't allow me to scroll through the list.

EricG2_0-1777044254396.png

 

If i allow the Security Debug popup to be open, then the Catalog Reference popup doesn't show.

 

Has anyone experienced this?  What other ACL am I missing.

1 ACCEPTED SOLUTION

@Tanushree Maiti thanks for the help.  Finally got the Debug Popup window to finally stay open.  Geez...

Turns out that since switching to Catalog Builder, we needed to add read to that table and apparently also needed to add tablename.* read acl as well.

 

It's working now.

View solution in original post

2 REPLIES 2

Tanushree Maiti
Mega Patron

Hi @EricG2 ,

 

Can you elevate your privilege as security admin and modify your Read ACL with this ACL script.

Try Once.

 

  • Type: record
  • Operation: read
  • Name: u_centrix_page_template

ACL script :

var isVisible = gs.getProperty('glide.security.allow_unauth_roleless_acl');
if (isVisible == 'true') { answer = true; } else { answer = false; }

 

Please mark this response as Helpful & Accept it as solution if it assisted you with your question.
Regards
Tanushree Maiti
ServiceNow Technical Architect
Linkedin:

@Tanushree Maiti thanks for the help.  Finally got the Debug Popup window to finally stay open.  Geez...

Turns out that since switching to Catalog Builder, we needed to add read to that table and apparently also needed to add tablename.* read acl as well.

 

It's working now.