WebAPP preview Error : JST-310039 Privilege escalation forbidden for ‘Anonymous account’. ctx _console=“1” lang="

Description

While previewing a newly created webapp, you may experience the following error “Error : JST-310039 Privilege escalation forbidden for ‘Anonymous account’. ctx _console=“1” lang=“en” score=“0”/”

Please note you will need to enable debug mode.

Resolution

Resolution:

The option “XtkSecurity_Allow_PrivilegeEscalation should be equal to 1” if it doesn’t exist, you will have to create it.

“XtkSecurity_Allow_PrivilegeEscalation” if 1 is selected, this option allows privilegeEscalation in JavaScript.”

I have created this option in the instance, and now the web app preview is working fine.

On this page