Skip to content

Commit f6466eb

Browse files
damienwebdevrhoerr
authored andcommitted
feat!: prevent catalog and sales rules from being disclosed publicly by default
1 parent 96207dd commit f6466eb

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

app/code/Magento/CatalogRule/etc/config.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
<default>
1010
<catalog>
1111
<rule>
12-
<share_all_catalog_rules>1</share_all_catalog_rules>
12+
<share_all_catalog_rules>0</share_all_catalog_rules>
1313
<share_applied_catalog_rules>1</share_applied_catalog_rules>
1414
</rule>
1515
</catalog>

app/code/Magento/SalesRule/etc/config.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
<format>1</format>
1515
</auto_generated_coupon_codes>
1616
<graphql>
17-
<share_all_sales_rule>1</share_all_sales_rule>
17+
<share_all_sales_rule>0</share_all_sales_rule>
1818
<share_applied_sales_rule>1</share_applied_sales_rule>
1919
</graphql>
2020
</promo>

0 commit comments

Comments
 (0)