Commit Graph

125 Commits

Author SHA1 Message Date
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
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
Fredrik Adelöw 9212439d15 just some more use of setupRequestMockHandlers
Signed-off-by: Fredrik Adelöw <freben@gmail.com>
2022-08-24 11:26:12 +02: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
github-actions[bot] a5684d0d53 Version Packages 2022-08-16 12:15:33 +00:00
github-actions[bot] 73cee58fc2 Version Packages (next) 2022-07-26 08:37:39 +00:00
github-actions[bot] 7d7da6caec Version Packages 2022-07-19 08:34:21 +00: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
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
Joon Park 58426f9c0f Create permission aggregation endpoints (#11695)
* Create permission aggregation endpoints

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

* Spelling

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

* Refactor permission metadata aggregation into one endpoint

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

* Change parameter field shape

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

Co-authored-by: Joe Porpeglia <josephp@spotify.com>
2022-06-10 11:32:28 +01: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
Joe Porpeglia 90754d4fa9 Remove strict validation from PermissionCriteria schemas
Signed-off-by: Joe Porpeglia <josephp@spotify.com>
2022-04-18 12:38:29 -04:00
github-actions[bot] 2e1cce5528 Version Packages (next) 2022-04-12 15:19:00 +00:00
Vincenzo Scamporlino 63902fcc17 PermissionEvaluator: rename query to authorizeConditional
Signed-off-by: Vincenzo Scamporlino <me@vinzscam.dev>
2022-04-08 12:29:00 +02:00
Vincenzo Scamporlino 2903c1fd5d Move PolicyQuery to permission-node
Signed-off-by: Vincenzo Scamporlino <me@vinzscam.dev>
2022-04-08 12:28:59 +02:00
Vincenzo Scamporlino 8960a2bfed Split PermissionClient#authorize
Co-authored-by: Mike Lewis <mtlewis@users.noreply.github.com>
Signed-off-by: Vincenzo Scamporlino <me@vinzscam.dev>
2022-04-08 12:28:59 +02: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 979d4b976f Update api-reports
Signed-off-by: Joe Porpeglia <josephp@spotify.com>
2022-03-25 10:02:46 -04:00
Joe Porpeglia 0b98a49509 Rename policy input type
Signed-off-by: Joe Porpeglia <josephp@spotify.com>
2022-03-25 10:02:46 -04: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 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
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
github-actions[bot] b6d947b67f Version Packages 2022-03-10 11:30:23 +00:00
github-actions[bot] 1693f2dc74 Version Packages (next) 2022-03-09 16:09:04 +00:00
Patrik Oldsberg 09b37063f2 packages,plugins: migrate to new lint config
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2022-03-07 14:53:43 +01:00
github-actions[bot] 3c8bb2854d Version Packages 2022-03-03 15:23:53 +00:00
Vincenzo Scamporlino 7e0a0109bf Export permission criteria utilities
Signed-off-by: Vincenzo Scamporlino <me@vinzscam.dev>
2022-03-01 12:44:06 +01:00
github-actions[bot] c9da151d84 Version Packages 2022-02-24 13:54:37 +00:00
Joe Porpeglia 0816f8237a Improve error message when permissions are enabled without backend-to-backend authentication
Signed-off-by: Joe Porpeglia <josephp@spotify.com>
2022-02-18 15:38:01 -05:00
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