Files
backstage/plugins/permission-node/CHANGELOG.md
T
Patrik Oldsberg ba68ea4450 apply 0.68.1 fixes to master
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2022-02-18 11:30:15 +01:00

5.6 KiB

@backstage/plugin-permission-node

0.5.1

Patch Changes

  • Fix for the previous release with missing type declarations.
  • Updated dependencies
    • @backstage/backend-common@0.10.9
    • @backstage/config@0.1.15
    • @backstage/errors@0.2.2
    • @backstage/plugin-auth-node@0.1.2
    • @backstage/plugin-permission-common@0.5.1

0.5.0

Minor Changes

  • 8c646beb24: BREAKING PermissionCriteria now requires at least one condition in anyOf and allOf arrays. This addresses some ambiguous behavior outlined in #9280.

Patch Changes

  • c77c5c7eb6: Added backstage.role to package.json
  • Updated dependencies
    • @backstage/backend-common@0.10.8
    • @backstage/errors@0.2.1
    • @backstage/plugin-auth-node@0.1.1
    • @backstage/plugin-permission-common@0.5.0
    • @backstage/config@0.1.14

0.4.3

Patch Changes

0.4.3-next.0

Patch Changes

0.4.2

Patch Changes

0.4.2-next.1

Patch Changes

0.4.2-next.0

Patch Changes

  • Updated dependencies
    • @backstage/plugin-auth-backend@0.9.0-next.0

0.4.1

Patch Changes

0.4.0

Minor Changes

  • 0ae4f4cc82: BREAKING: PolicyAuthorizeRequest type has been renamed to PolicyAuthorizeQuery. BREAKING: Update to use renamed request and response types from @backstage/plugin-permission-common.

Patch Changes

  • Updated dependencies

0.4.0-next.0

Minor Changes

  • 0ae4f4cc82: BREAKING: PolicyAuthorizeRequest type has been renamed to PolicyAuthorizeQuery. BREAKING: Update to use renamed request and response types from @backstage/plugin-permission-common.

Patch Changes

  • Updated dependencies
    • @backstage/plugin-auth-backend@0.7.0-next.0
    • @backstage/plugin-permission-common@0.4.0-next.0
    • @backstage/backend-common@0.10.4-next.0
    • @backstage/config@0.1.13-next.0

0.3.0

Minor Changes

  • 419ca637c0: Optimizations to the integration between the permission backend and plugin-backends using createPermissionIntegrationRouter:

    • The permission backend already supported batched requests to authorize, but would make calls to plugin backend to apply conditions serially. Now, after applying the policy for each authorization request, the permission backend makes a single batched /apply-conditions request to each plugin backend referenced in policy decisions.
    • The getResource method accepted by createPermissionIntegrationRouter has been replaced with getResources, to allow consumers to make batch requests to upstream data stores. When /apply-conditions is called with a batch of requests, all required resources are requested in a single invocation of getResources.

    Plugin owners consuming createPermissionIntegrationRouter should replace the getResource method in the options with a getResources method, accepting an array of resourceRefs, and returning an array of the corresponding resources.

Patch Changes

  • 9db1b86f32: Add helpers for creating PermissionRules with inferred types
  • Updated dependencies
    • @backstage/config@0.1.12
    • @backstage/backend-common@0.10.3
    • @backstage/plugin-auth-backend@0.6.2
    • @backstage/errors@0.2.0
    • @backstage/plugin-permission-common@0.3.1

0.2.3

Patch Changes

0.2.2

Patch Changes

  • 2f8a9b665f: 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.

  • Updated dependencies

0.2.1

Patch Changes

  • dcd1a0c3f4: Minor improvement to the API reports, by not unpacking arguments directly

  • a036b65c2f: Updated to use the new BackstageIdentityResponse type from @backstage/plugin-auth-backend.

    The BackstageIdentityResponse type is backwards compatible with the BackstageIdentity, and provides an additional identity field with the claims of the user.

  • Updated dependencies

    • @backstage/plugin-auth-backend@0.5.0

0.2.0

Minor Changes

  • e7851efa9e: Rename and adjust permission policy return type to reduce nesting
  • 450ca92330: Change route used for integration between the authorization framework and other plugin backends to use the /.well-known prefix.

Patch Changes

  • Updated dependencies
    • @backstage/plugin-auth-backend@0.4.10

0.1.0

Minor Changes

  • 44b46644d9: New package containing common permission and authorization utilities for backend plugins. For more information, see the authorization PRFC.

Patch Changes

  • Updated dependencies
    • @backstage/plugin-auth-backend@0.4.9
    • @backstage/plugin-permission-common@0.2.0