Commit Graph

118 Commits

Author SHA1 Message Date
github-actions[bot] 4e94720142 Version Packages (next) 2022-09-27 10:57:53 +00:00
Patrik Oldsberg be5a837259 migrate to use workspace ranges
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2022-09-21 10:14:53 +02:00
github-actions[bot] 30882884a4 Version Packages 2022-09-20 11:52:02 +00:00
github-actions[bot] 423e01d903 Version Packages (next)
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2022-09-13 18:00:17 -04:00
github-actions[bot] f275697d2b Version Packages (next) 2022-09-06 13:11:16 +00:00
renovate[bot] 667d917488 chore(deps): update dependency msw to ^0.47.0
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2022-09-06 07:09:16 +00:00
Brian Fletcher 04370684e8 Merge branch 'master' of github.com:backstage/backstage into RoadieHQ-5identity-api-client-interface 2022-09-01 10:51:52 +01:00
Patrik Oldsberg 8911f684e1 Yarn 3 automatic formatting changes
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2022-08-31 15:49:38 +02:00
Brian Fletcher 4925dfcb74 Merge branch 'master' of github.com:backstage/backstage into RoadieHQ-5identity-api-client-interface 2022-08-31 11:19:34 +01:00
renovate[bot] 87ec2ba4d6 chore(deps): update dependency msw to ^0.46.0
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2022-08-31 01:34:13 +00:00
github-actions[bot] d1ec204774 Version Packages (next) 2022-08-30 12:02:13 +00:00
Fredrik Adelöw aaab1e34da Fix linting errors after #13392
Signed-off-by: Fredrik Adelöw <freben@gmail.com>
2022-08-30 13:44:09 +02:00
Brian Fletcher d102f14f9e fix some review comments
Signed-off-by: Brian Fletcher <brian@roadie.io>
2022-08-23 16:55:16 +01:00
Brian Fletcher 8f44eb1724 Merge branch 'master' of github.com:backstage/backstage into RoadieHQ-identity-api-client-interface-7 2022-08-23 15:28:40 +01:00
github-actions[bot] 18ab337f96 Version Packages (next) 2022-08-23 10:29:17 +00:00
renovate[bot] bf5e9030eb chore(deps): update dependency msw to ^0.45.0
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2022-08-22 02:27:29 +00:00
Brian Fletcher 71f39b4bea Merge branch 'master' into identity-api-client-interface 2022-08-16 15:14:49 +01:00
github-actions[bot] a5684d0d53 Version Packages 2022-08-16 12:15:33 +00:00
Brian Fletcher 16f0a6fac6 Merge branch 'master' into identity-api-client-interface 2022-07-28 10:22:14 +01:00
github-actions[bot] 73cee58fc2 Version Packages (next) 2022-07-26 08:37:39 +00:00
Brian Fletcher 7b4bad2e55 Merge branch 'master' into identity-api-client-interface 2022-07-19 15:36:51 +01:00
github-actions[bot] 7d7da6caec Version Packages 2022-07-19 08:34:21 +00:00
Brian Fletcher 7d2dfaf3dc Merge branch 'master' into identity-api-client-interface 2022-07-18 09:45:22 +01:00
renovate[bot] 8006d0f9bf chore(deps): update dependency msw to ^0.44.0
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2022-07-13 02:08:31 +00:00
github-actions[bot] 0e967f188b Version Packages (next) 2022-07-12 13:19:14 +00:00
Brian Fletcher a19afbba60 fix auth-node versions
Signed-off-by: Brian Fletcher <brian@roadie.io>
2022-07-08 17:09:07 +01:00
Brian Fletcher 2cbd533426 break identity client into an interface
The interface has changed a little instead of allowing the client to
parse out the authorization header, it takes the request object as is
to extract the identity from it how the implementation decides.

IdentityClient#authenticate is now deprecated, in favor of
IdentityApi#getIdentity.

I am leaving the IdentityClient in place deprecated so that plugins
that use this can migrate away from it.

Signed-off-by: Brian Fletcher <brian@roadie.io>
2022-07-08 16:56:23 +01:00
renovate[bot] a70869e775 chore(deps): update dependency msw to ^0.43.0
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2022-07-05 09:54:46 +00:00
github-actions[bot] c92deffe39 Version Packages (next) 2022-06-28 09:27:36 +00:00
github-actions[bot] 2231987c10 Version Packages (next) 2022-06-21 09:04:17 +00:00
github-actions[bot] 2e2a82c9d7 Version Packages 2022-06-14 09:12:05 +00:00
github-actions[bot] b844443164 Version Packages (next) 2022-06-03 15:01:16 +00:00
github-actions[bot] a13ab262de Version Packages (next) 2022-05-31 11:51:41 +00:00
blam 6c8474c4a7 chore: bumping the versions
Signed-off-by: blam <ben@blam.sh>

Signed-off-by: blam <ben@blam.sh>
2022-05-31 12:33:35 +02:00
Renovate Bot 8f7b1835df chore(deps): update dependency msw to ^0.41.0
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2022-05-31 12:33:35 +02:00
github-actions[bot] bcc563abe9 Version Packages (next) 2022-05-24 11:05:52 +00:00
github-actions[bot] 64a03bd946 Version Packages 2022-05-17 09:26:29 +00:00
github-actions[bot] c02ce52da1 Version Packages (next) 2022-05-10 08:00:04 +00:00
github-actions[bot] 1bff70d602 Version Packages (next) 2022-04-26 12:22:43 +00:00
github-actions[bot] 3f7acfb96e Version Packages 2022-04-19 14:28:08 +00:00
github-actions[bot] e6f3fb8575 Version Packages (next) 2022-03-29 08:42:22 +00:00
MT Lewis 8012ac46a0 permissions: ensure returned conditions match permission in PermissionPolicy#handle (#10075)
* permission-node: fix signature of permission rule in test suites

Signed-off-by: Mike Lewis <mtlewis@users.noreply.github.com>

* permission-common: add isPermission helper for comparing permissions

Signed-off-by: Mike Lewis <mtlewis@users.noreply.github.com>

* permission-node: adjust createConditionExports for more type safety

Signed-off-by: Mike Lewis <mtlewis@users.noreply.github.com>

* permissions: add resourceType property to PermissionCondition and PermissionRule

Signed-off-by: Mike Lewis <mtlewis@users.noreply.github.com>

* catalog: handle changes to PermissionCondition and PermissionRule types

Signed-off-by: Mike Lewis <mtlewis@users.noreply.github.com>

* catalog-backend: avoid re-exporting alpha import

cf. https://github.com/backstage/backstage/pull/10128

Signed-off-by: Mike Lewis <mtlewis@users.noreply.github.com>

* Update changeset

Signed-off-by: Joe Porpeglia <josephp@spotify.com>

* Resolve api-report conflict

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

Co-authored-by: Joe Porpeglia <josephp@spotify.com>
Co-authored-by: Joon Park <joonp@spotify.com>
2022-03-28 11:06:38 +01:00
Joe Porpeglia e43290ce96 Rename permission backend request and response types
Signed-off-by: Joe Porpeglia <josephp@spotify.com>
2022-03-25 10:02:46 -04:00
Joe Porpeglia 970814ed38 Move policy decision types to permission-common
Co-authored-by: Mike Lewis <mtlewis@users.noreply.github.com>
Signed-off-by: Joe Porpeglia <josephp@spotify.com>
2022-03-25 10:02:46 -04:00
Joe Porpeglia ac0a6cb827 Introduce PermissionMessageBatch utility type. Rename Identified type to IdentifiedPermissionMessage.
Co-authored-by: Mike Lewis <mtlewis@users.noreply.github.com>
Signed-off-by: Joe Porpeglia <josephp@spotify.com>
2022-03-25 10:02:46 -04:00
Mike Lewis 9cbb270aef permissions: add a discriminator type to Permission
Signed-off-by: Mike Lewis <mtlewis@users.noreply.github.com>
2022-03-22 14:32:38 -04:00
Mike Lewis 899d38ea68 permission-common: add utility types for creating and refining Permissions
Signed-off-by: Mike Lewis <mtlewis@users.noreply.github.com>
2022-03-22 14:32:38 -04:00
Mike Lewis 95284162d6 permission-common: introduce ResourcePermission type
Signed-off-by: Mike Lewis <mtlewis@users.noreply.github.com>
2022-03-22 14:32:38 -04:00
github-actions[bot] ad955c1b1b Version Packages (next) 2022-03-22 12:28:03 +00:00
github-actions[bot] 0bc1611d6e Version Packages 2022-03-17 09:02:30 +00:00