MageSmith

🔐 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.

Columns (5)

NameTypeNullDefaultComment
rule_id PKint unsignednoRule ID
role_id int unsignedno0Role ID
resource_id varchar(255) yesResource ID
privileges varchar(20) yesPrivileges
permission varchar(10) yesPermission

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)