feat: add administrator role permission table (#11817)

This update introduces a new table for managing administrator role
permissions, along with the necessary repository and projection logic to
handle adding and removing permissions. It also includes tests to ensure
the correct functionality of the permission management system.

closes https://github.com/zitadel/zitadel/issues/10219

---------

Co-authored-by: Marco Ardizzone <[email protected]>
This commit is contained in:
Silvan
2026-04-14 06:01:52 +00:00
committed by GitHub
co-authored by Marco Ardizzone
parent bb3b52dda3
commit 7b9d2b7d17
11 changed files with 944 additions and 0 deletions
@@ -43,6 +43,9 @@ func TestAddCustomDomain(t *testing.T) {
relationalInst.Client.InstanceV2.DeleteInstance(ctxWithSysAuthZ, &instance.DeleteInstanceRequest{InstanceId: relationalInst.ID()})
})
// ugly fix to wait until instances are projected in all read models.
time.Sleep(10 * time.Second)
type instanceAndCtx struct {
testType string
instance *integration.Instance