Log in
Model

Rules

Magento\Authorization\Model\Rules

What it does

This class manages authorization rules that define what resources (ACL permissions) are assigned to admin user roles in Magento 2.

Developers use this model to save and manage the relationship between roles and their permitted resources, controlling what areas of the admin panel different user roles can access.

Public Methods

  • update()
  • saveRel()