Authorization
Magento\Catalog\Model\Product\Authorization
What it does
This class provides authorization checks when saving products, specifically for design-related attributes like custom layouts, page designs, and theme settings.
Developers use this class to ensure users have the 'edit_product_design' permission before allowing changes to sensitive product design attributes.
It prevents unauthorized users from modifying product appearance and layout settings.
Public Methods
- authorizeSavingOf()