🔐 Magento_Authorization · engine innodb
authorization_rule
Admin Rule Table
Neighbourhood (1-hop foreign-key graph — showing 1 of 1)
flowchart LR c["authorization_rule"]:::center n0["authorization_role"] click n0 "/schema/table/authorization_role" n0 -- role_id --> c click c "/schema/table/authorization_rule" classDef center fill:#eef2ff,stroke:#6366f1,color:#3730a3,stroke-width:1.5px
Click a node to jump to that table.
Related tables (1)
Columns (5)
| Name | Type | Null | Default | Comment |
|---|---|---|---|---|
| rule_id PK | int unsigned | no | Rule ID | |
| role_id | int unsigned | no | 0 | Role ID |
| resource_id | varchar(255) | yes | Resource ID | |
| privileges | varchar(20) | yes | Privileges | |
| permission | varchar(10) | yes | Permission |
Keys & indexes
Primary key: rule_id
Indexes
- AUTHORIZATION_RULE_RESOURCE_ID_ROLE_ID (resource_id, role_id) btree
- AUTHORIZATION_RULE_ROLE_ID_RESOURCE_ID (role_id, resource_id) btree
References (1)
- role_id → authorization_role .role_id (on delete CASCADE)