We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 13cf34f commit 7266d88Copy full SHA for 7266d88
docs/Authorization.md
@@ -118,8 +118,9 @@ Multi words like `Super Admin` would be `super-admin` etc.
118
### Single-role
119
120
When using the single-role-per-user model TinyAuth expects your Users model to
121
-contain an column named ``role_id``. If you prefer to use another column name
+contain a column named ``role_id``. If you prefer to use another column name
122
simply specify it using the ``roleColumn`` configuration option.
123
+If it is a nested relationship of sort, you can use the dot notation to specify the path, e.g. `Role.id`.
124
125
The ``roleColumn`` option is also used on pivot table in a multi-role setup.
126
0 commit comments