CSV Table Roles
Academy theme csvtable-roles shortcode for role-specific permissions tables.
1 minute read
The csvtable-roles shortcode reads static/data/csv/keys-backup.csv and renders per-role permission tables showing which functions each role has access to.
{{< csvtable-roles >}}
The CSV file must be located at static/data/csv/keys-backup.csv with the same format used by csvtable.
Example:
X Role
| Permission | Description |
|---|---|
KC001 Role
| Permission | Description |
|---|
K001 Role
| Permission | Description |
|---|
2024-01-01 Role
| Permission | Description |
|---|
true Role
| Permission | Description |
|---|