Log in
Model

Rules

Magento\Authorization\Model\ResourceModel\Rules

What it does

This resource model manages the persistence of ACL (Access Control List) authorization rules in Magento 2.

Developers use this class when programmatically creating or updating role permissions, as it handles saving resource permissions for admin roles to the database and ensures proper ACL cache invalidation.

Public Methods

  • saveRel()