docs: Dynamic Manager Permission Table (#11120)

<!--
Please inform yourself about the contribution guidelines on submitting a
PR here:
https://github.com/zitadel/zitadel/blob/main/CONTRIBUTING.md#submit-a-pull-request-pr.
Take note of how PR/commit titles should be written and replace the
template texts in the sections below. Don't remove any of the sections.
It is important that the commit history clearly shows what is changed
and why.
Important: By submitting a contribution you agree to the terms from our
Licensing Policy as described here:
https://github.com/zitadel/zitadel/blob/main/LICENSING.md#community-contributions.
-->

# Which Problems Are Solved

Permissions for each manager role are stored in a .yaml file and can't
be easily searched in our docs.

# How the Problems Are Solved

We reference anyways the defaults.yaml file in our docs.
The script parses the yaml and produces a markdown table containing all
manager roles by manager permissions.

# Additional Changes

* Updated README with correct production build command

# Additional Context

---------

Co-authored-by: Florian Forster <[email protected]>
Co-authored-by: Livio Spring <[email protected]>
This commit is contained in:
Maximilian
2025-12-09 14:05:04 +02:00
committed by GitHub
co-authored by Florian Forster Livio Spring
parent 541f8058cb
commit 94f9ef966f
8 changed files with 249 additions and 23 deletions
@@ -7,6 +7,7 @@ import ManagerDescription from "./_manager_description.mdx";
<ManagerDescription name="ManagerDescription" />
Notes:
- Read our [guide on Managers](../../guides/manage/console/managers) to learn more about the role concept and how to use Manager roles in ZITADEL.
@@ -56,3 +56,12 @@ InternalAuthZ:
- "iam.read"
- "iam.write"
```
import PermissionTable from '@site/src/components/PermissionTable';
import permissionData from '@site/docs/self-hosting/manage/configure/defaults.yaml';
# Manager Permission Matrix
This table is generated dynamically from our configuration file.
<PermissionTable data={permissionData} />