Model
Authorization
Magento\Cms\Model\Page\Authorization
What it does
This class handles authorization checks when saving or updating CMS pages in Magento 2.
It specifically validates whether the current user has permission to modify design-related fields like page layout, custom themes, and layout update XML.
Developers use this class to ensure users without proper 'save_design' permissions cannot change the visual appearance of CMS pages.
Public Methods
- authorizeFor()