CSV Table
Academy theme csvtable shortcode for rendering permissions tables from CSV data.
1 minute read
The csvtable shortcode reads static/data/csv/keys-backup.csv and renders a permissions table grouped by category. Each role column shows a check or cross indicator.
{{< csvtable >}}
The CSV file must be located at static/data/csv/keys-backup.csv and contain columns for Category, Function, Feature, and various role names.
Example:
Infrastructure Permissions
| Permission | Description | Workspace Admin | Team Admin | Organization Admin | Provider Admin | User Role | Support Role | Audit Role |
|---|---|---|---|---|---|---|---|---|
| Create cluster | Allows creating SKS clusters | ✅ | ✅ | ✅ | ❌ | ✅ | ❌ | ❌ |
| Delete cluster | Allows deleting SKS clusters | ✅ | ❌ | ✅ | ❌ | ❌ | ❌ | ❌ |
Security Permissions
| Permission | Description | Workspace Admin | Team Admin | Organization Admin | Provider Admin | User Role | Support Role | Audit Role |
|---|---|---|---|---|---|---|---|---|
| Rotate API key | Allows rotating API keys | ❌ | ✅ | ✅ | ✅ | ❌ | ❌ | ✅ |