Files
backstage/.changeset/three-sheep-sparkle.md
T
Joon Park cd529c4094 Integrate permissions with catalog-backend refresh endpoint (#8693)
Integration permission framework with refresh in catalog-backend

... through the use of a new AuthorizedRefreshService.

Signed-off-by: Joon Park <joonp@spotify.com>
2022-01-07 15:49:26 +00:00

790 B

@backstage/plugin-catalog-backend
@backstage/plugin-catalog-backend
minor

In order to integrate the permissions system with the refresh endpoint in catalog-backend, a new AuthorizedRefreshService was created as a thin wrapper around the existing refresh service which performs authorization and handles the case when authorization is denied. In order to instantiate AuthorizedRefreshService, a permission client is required, which was added as a new field to CatalogEnvironment.

The new permissions field in CatalogEnvironment should already receive the permission client from the PluginEnvrionment, so there should be no changes required to the catalog backend setup. See the create-app changelog for more details.