how do I debug an ACL in service portal?

Bj_rn G
Giga Contributor

I have an ACL that only applies to customer contacts and it isn't working as I expect. I can't apply the ACL to an internal user to view how it behaves, so how can I debug the ACL inside the service portal? I tried to put a log message into the "advanced" script in my ACL, but that has not appeared in the logs, and I can't think of another way to get debug output from the ACL evaluation for a user in a (customer facing) service portal.

1 ACCEPTED SOLUTION

kente
Tera Guru

You might be able to do this.

Go to 'Debug Security' - and open the "avaible here" in a new tab.

Impersonate the user that your want to test the ACL on the portal
find_real_file.png

After you have triggered what ever page/widget you should refresh the "Avaible here" tab.

find_real_file.png

View solution in original post

10 REPLIES 10

Uncle Rob
Kilo Patron

An ACL will work the same whether you're on the portal or not, so no need to debug it "in the portal".  

False. I can't enable access to the default UI without changing the way the ACL is applied, because it is an alternative to ACLs with snc_internal and other roles that are needed to view Case records in the fulfiller UI.

Also, this is a row level ACL, and it appears that the UI only shows information on ACLs for data that is displayed on a page, so the rows that don't appear lack a visible diagnostic as to why they were filtered out.

Allen Andreas
Administrator
Administrator

Can you say what isn't working as expected?

And to debug ACL you could navigate to back-end view of the form, but choose Service Portal view and see if that helps.


Please consider marking my reply as Helpful and/or Accept Solution, if applicable. Thanks!