MageSmith

🔐 Magento_Authorization · engine innodb

authorization_role

Admin Role Table

Neighbourhood (1-hop foreign-key graph — showing 1 of 1)

flowchart LR
  c["authorization_role"]:::center
  n0["authorization_rule"]
  click n0 "/schema/table/authorization_rule"
  c -- role_id --> n0
  click c "/schema/table/authorization_role"
  classDef center fill:#eef2ff,stroke:#6366f1,color:#3730a3,stroke-width:1.5px

Click a node to jump to that table.

Columns (8)

NameTypeNullDefaultComment
role_id PKint unsignednoRole ID
parent_id int unsignedno0Parent Role ID
tree_level smallint unsignedno0Role Tree Level
sort_order smallint unsignedno0Role Sort Order
role_type varchar(1) no0Role Type
user_id int unsignedno0User ID
user_type varchar(16) yesUser Type
role_name varchar(50) yesRole Name

Keys & indexes

Primary key: role_id

Indexes

  • AUTHORIZATION_ROLE_PARENT_ID_SORT_ORDER (parent_id, sort_order) btree
  • AUTHORIZATION_ROLE_TREE_LEVEL (tree_level) btree

Referenced by (1)