Skip to content

Commit

Permalink
LPD-17744 Disable Iframe sanitizer in setUp
Browse files Browse the repository at this point in the history
  • Loading branch information
NemethNorbert committed Jun 5, 2024
1 parent c18e5d4 commit f9222cb
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,12 @@ definition {

User.firstLoginPG();

SystemSettings.openToConfigInSystemSettings(portletId = "com.liferay.portal.security.iframe.sanitizer.configuration.IFrameConfiguration");

SystemSettings.configureSystemSetting(
enableSetting = "false",
settingFieldName = "Enabled");

HeadlessSite.addSite(siteName = "Site Name");

JSONLayout.addPublicLayout(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,12 @@ definition {

User.firstLoginPG();

SystemSettings.openToConfigInSystemSettings(portletId = "com.liferay.portal.security.iframe.sanitizer.configuration.IFrameConfiguration");

SystemSettings.configureSystemSetting(
enableSetting = "false",
settingFieldName = "Enabled");

HeadlessSite.addSite(siteName = "Site Name");

JSONLayout.addPublicLayout(
Expand Down

0 comments on commit f9222cb

Please sign in to comment.