Add authorization to entities get endpoints in catalog-backend. (#8711)

* Add authorization to entities get endpoints in catalog-backend.

The delete endpoint and the ancestry endpoint, as well as the rest of the endpoints in catalog-backend will be covered in later PRs.

Signed-off-by: Joon Park <joonp@spotify.com>

* Refactor permissioning into AuthorizedNextEntitiesCatalog

Signed-off-by: Joon Park <joonp@spotify.com>

* Create integration router in builder

Signed-off-by: Joon Park <joonp@spotify.com>

* Fix test authorization strings

Signed-off-by: Joon Park <joonp@spotify.com>
This commit is contained in:
Joon Park
2022-01-13 10:59:13 +00:00
committed by GitHub
parent 4578d5c347
commit 0a6c68582a
8 changed files with 226 additions and 111 deletions
+5
View File
@@ -0,0 +1,5 @@
---
'@backstage/plugin-catalog-backend': patch
---
Add authorization to catalog-backend entities GET endpoints