Merge pull request #9728 from backstage/jhaals/delete-loadIdentityOwnerRefs

catalog-react: Delete loadIdentityOwnerRefs, deprecate loadCatalogOwn…
This commit is contained in:
Johan Haals
2022-02-23 14:15:40 +01:00
committed by GitHub
6 changed files with 15 additions and 57 deletions
+7
View File
@@ -0,0 +1,7 @@
---
'@backstage/plugin-catalog-react': minor
---
**BREAKING**: Deleted the deprecated `loadIdentityOwnerRefs` function which is replaced by `ownershipEntityRefs` from `identityApi.getBackstageIdentity()`.
Deprecated the `loadCatalogOwnerRefs` hook as membership references should be added as `ent` inside `claims` sections of the `SignInResolver` when issuing tokens. See https://backstage.io/docs/auth/identity-resolver for more details on how to prepare your `SignInResolver` if not done already. Usage of the `loadCatalogOwnerRefs` hook should be replaced by `ownershipEntityRefs` from `identityApi.getBackstageIdentity()` instead.