Authorization: Fix/provisioned permission display (#106179)

* add isProvisioned flag to permission DTO

* handle provisioned permissions explicitly

* lint

* swagger

* simplify logic to always show non-managed permissions first; remove unnecessary isProvisioned

* fix docs

* oops

* actually just generate the docs
This commit is contained in:
Cory Forseth
2025-06-03 11:21:42 -05:00
committed by GitHub
parent f36d5c5206
commit 40164cb09e
3 changed files with 9 additions and 4 deletions
@@ -496,6 +496,7 @@ func flatPermissionsToResourcePermissions(scope string, permissions []flatResour
} else if p.IsInherited(scope) {
inherited = append(inherited, p)
} else {
// Permissions which are neither managed nor inherited must have been provisioned
provisioned = append(provisioned, p)
}
}