Log in
Model

Authorization

Magento\Cms\Model\Page\Authorization

What it does

This class handles authorization checks when saving CMS pages, specifically ensuring users have proper permissions to modify design-related fields like page layout, custom themes, and layout XML updates.

Developers use this to enforce role-based access control, preventing unauthorized users from changing a page's design settings even if they can edit page content.

Public Methods

  • authorizeFor()