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 |
|
github-actions[bot]
|
408b0300cb
|
Version Packages
|
2022-02-17 10:38:59 +00:00 |
|
Patrik Oldsberg
|
9892d74326
|
cli: renamed script commands to package
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
|
2022-02-15 21:27:12 +01:00 |
|
Patrik Oldsberg
|
8f82d80adf
|
migrate all package scripts
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
|
2022-02-14 21:50:07 +01:00 |
|
Patrik Oldsberg
|
b521c1b83b
|
detect all package roles
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
|
2022-02-14 21:50:03 +01:00 |
|
Joe Porpeglia
|
6a079788e8
|
Cast type instead of throwing
Signed-off-by: Joe Porpeglia <josephp@spotify.com>
|
2022-02-11 11:08:56 -05:00 |
|
Joe Porpeglia
|
08ce0c83dd
|
Use strict() validation for permission criteria zod schemas
Signed-off-by: Joe Porpeglia <josephp@spotify.com>
|
2022-02-11 11:08:56 -05:00 |
|
Joe Porpeglia
|
e66bb84798
|
Require at least one item in allOf/anyOf criteria
Signed-off-by: Joe Porpeglia <josephp@spotify.com>
|
2022-02-11 11:08:56 -05:00 |
|
github-actions[bot]
|
e4791789d1
|
Version Packages
|
2022-02-10 11:06:33 +00:00 |
|
Fredrik Adelöw
|
86b40d464f
|
move over BackstageSignInResult, BackstageIdentityResponse, BackstageUserIdentity
Signed-off-by: Fredrik Adelöw <freben@gmail.com>
|
2022-02-09 17:10:18 +01:00 |
|
github-actions[bot]
|
e74f416a00
|
Version Packages (next)
|
2022-02-08 19:38:17 +00:00 |
|
github-actions[bot]
|
a12bb7b065
|
Version Packages
|
2022-02-03 09:42:25 +00:00 |
|
github-actions[bot]
|
51eecb3f03
|
Version Packages (next)
|
2022-02-02 14:28:47 +00:00 |
|
github-actions[bot]
|
e1580cf73a
|
Version Packages (next)
|
2022-02-01 08:53:29 +00:00 |
|
github-actions[bot]
|
406848efee
|
Version Packages
|
2022-01-27 11:07:27 +00:00 |
|
github-actions[bot]
|
8b18d054f3
|
Version Packages
|
2022-01-20 10:33:31 +00:00 |
|
github-actions[bot]
|
a94a2b8b3f
|
Version Packages (next)
|
2022-01-18 13:49:07 +00:00 |
|
MT Lewis
|
0ae4f4cc82
|
permissions: rename authorize request and response types to avoid envelope suffix
Signed-off-by: MT Lewis <mtlewis@users.noreply.github.com>
|
2022-01-13 17:51:06 +00:00 |
|
MT Lewis
|
b768259244
|
permission-backend: wrap authorize request and response batches in envelope
Signed-off-by: MT Lewis <mtlewis@users.noreply.github.com>
|
2022-01-13 17:51:05 +00:00 |
|
github-actions[bot]
|
b04011602b
|
Version Packages
|
2022-01-13 14:23:13 +00:00 |
|
MT Lewis
|
ba2dbe47d7
|
permission-node: regenerate api-report
Signed-off-by: MT Lewis <mtlewis@users.noreply.github.com>
|
2022-01-13 13:28:51 +00:00 |
|
MT Lewis
|
3bb0afb54c
|
permission-node: add test for apply conditions router
Signed-off-by: MT Lewis <mtlewis@users.noreply.github.com>
|
2022-01-13 13:04:30 +00:00 |
|
MT Lewis
|
34a4be296f
|
permission-node: list all incorrect resource types in apply-conditions handler
Signed-off-by: MT Lewis <mtlewis@users.noreply.github.com>
|
2022-01-13 13:04:06 +00:00 |
|
MT Lewis
|
1fb2e0e0b4
|
permission-node: wrap request and response arrays in object
Signed-off-by: MT Lewis <mtlewis@users.noreply.github.com>
|
2022-01-13 13:04:06 +00:00 |
|
MT Lewis
|
cbb85e07f0
|
permission-node: simplify undefined check and fix applyConditions signature
Signed-off-by: MT Lewis <mtlewis@users.noreply.github.com>
|
2022-01-13 13:04:05 +00:00 |
|
MT Lewis
|
8e72b573aa
|
permission-node: switch to array for getResources return value
Signed-off-by: MT Lewis <mtlewis@users.noreply.github.com>
|
2022-01-13 13:04:04 +00:00 |
|
MT Lewis
|
706b6c29e9
|
permission-node: allow batch retrieval of resources in /apply-conditions
Signed-off-by: MT Lewis <mtlewis@users.noreply.github.com>
|
2022-01-13 13:04:04 +00:00 |
|
MT Lewis
|
b66704db18
|
permission-node: accept batched requests in /apply-conditions
Signed-off-by: MT Lewis <mtlewis@users.noreply.github.com>
|
2022-01-13 13:04:03 +00:00 |
|
MT Lewis
|
9db1b86f32
|
permission-node: add helpers for creating PermissionRules
Signed-off-by: MT Lewis <mtlewis@users.noreply.github.com>
|
2022-01-07 16:06:58 +00:00 |
|
github-actions[bot]
|
7d27a11079
|
Version Packages
|
2021-12-30 11:06:46 +00:00 |
|
github-actions[bot]
|
3d68c45ef7
|
Version Packages
|
2021-12-23 12:23:34 +00:00 |
|
MT Lewis
|
bc9a205b86
|
backend-common: remove isSecure property in favour of a property on the NoopServerTokenManager
Signed-off-by: MT Lewis <mtlewis@users.noreply.github.com>
|
2021-12-21 10:04:04 +00:00 |
|
MT Lewis
|
20d10b57d6
|
permission-node: rename static create method to fromConfig
Signed-off-by: MT Lewis <mtlewis@users.noreply.github.com>
|
2021-12-21 09:46:22 +00:00 |
|