permission-node: expand ServerPermissionClient changeset

Signed-off-by: MT Lewis <mtlewis@users.noreply.github.com>
This commit is contained in:
MT Lewis
2021-12-21 10:45:16 +00:00
parent 482e4a4acd
commit f80c7232ae
+3 -1
View File
@@ -2,4 +2,6 @@
'@backstage/plugin-permission-node': patch
---
Add ServerPermissionClient to check for backend-to-backend tokens
Add `ServerPermissionClient`, which implements `PermissionAuthorizer` from @backstage/plugin-permission-common. This implementation skips authorization entirely when the supplied token is a valid backend-to-backend token, thereby allowing backend-to-backend systems to communicate without authorization.
The `ServerPermissionClient` should always be used over the standard `PermissionClient` in plugin backends.