Fredrik Adelöw
3560397f61
changeset script typo
...
Signed-off-by: Fredrik Adelöw <freben@gmail.com >
2022-03-24 14:34:17 +01:00
Johan Haals
3766a58ec5
Merge pull request #10419 from backstage/jhaals/renovate
...
actions: add renovate
2022-03-24 14:23:25 +01:00
Fredrik Adelöw
c0717fb562
Merge pull request #9589 from prasaria/parent-group-ownership-aggregation
...
Parent group ownership aggregation
2022-03-24 14:17:54 +01:00
Johan Haals
26b0f39d88
add label
...
Signed-off-by: Johan Haals <johan.haals@gmail.com >
2022-03-24 14:13:33 +01:00
Fredrik Adelöw
53924a3e2a
Merge pull request #10077 from backstage/vinzscam/decouple-tags-picker-from-entities
...
Decouple EntityTagPicker from entities
2022-03-24 14:08:38 +01:00
Fredrik Adelöw
ac29c32f91
Merge pull request #10390 from suuus/community-1
...
Update to Community Hub content
2022-03-24 14:00:45 +01:00
Johan Haals
fe8ac3595c
actions: add renovate
...
Signed-off-by: Johan Haals <johan.haals@gmail.com >
2022-03-24 13:27:13 +01:00
Patrik Oldsberg
b558c8f472
Merge pull request #10413 from backstage/dependabot/npm_and_yarn/graphql-tools/schema-8.3.5
...
build(deps): bump @graphql-tools/schema from 8.3.1 to 8.3.5
2022-03-24 13:25:31 +01:00
Patrik Oldsberg
19553b1fd2
Merge pull request #10412 from backstage/dependabot/npm_and_yarn/eslint-8.11.0
...
build(deps): bump eslint from 8.10.0 to 8.11.0
2022-03-24 13:25:13 +01:00
Fredrik Adelöw
b408d911fd
cleanup
...
Signed-off-by: Fredrik Adelöw <freben@gmail.com >
2022-03-24 11:48:43 +01:00
dependabot[bot]
bf9ea11b3e
build(deps): bump eslint from 8.10.0 to 8.11.0
...
Bumps [eslint](https://github.com/eslint/eslint ) from 8.10.0 to 8.11.0.
- [Release notes](https://github.com/eslint/eslint/releases )
- [Changelog](https://github.com/eslint/eslint/blob/main/CHANGELOG.md )
- [Commits](https://github.com/eslint/eslint/compare/v8.10.0...v8.11.0 )
---
updated-dependencies:
- dependency-name: eslint
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2022-03-24 10:48:27 +00:00
Fredrik Adelöw
8dfaa20c52
Merge pull request #10410 from backstage/dependabot/npm_and_yarn/spotify/eslint-config-typescript-13.0.0
...
build(deps): bump @spotify/eslint-config-typescript from 12.0.0 to 13.0.0
2022-03-24 11:45:06 +01:00
Prasetya Aria Wibawa
0e5c9b2c8a
remove unused comment
...
Signed-off-by: Prasetya Aria Wibawa <prasetya.wibawa@grabtaxi.com >
2022-03-24 16:14:26 +07:00
Patrik Oldsberg
3a18c0732c
Merge pull request #10409 from backstage/rugvip/tweaks
...
workflow: tweak changeset feedback to work with forks
2022-03-24 09:49:12 +01:00
Prasetya Aria Wibawa
f12cb33bd5
passing down isGroup value from ownershipCard to useGetEntities
...
Signed-off-by: Prasetya Aria Wibawa <prasetya.wibawa@grabtaxi.com >
2022-03-24 14:56:56 +07:00
Prasetya Aria Wibawa
102e6efea5
fix test ownership card
...
Signed-off-by: Prasetya Aria Wibawa <prasetya.wibawa@grabtaxi.com >
2022-03-24 14:35:20 +07:00
Prasetya Aria Wibawa
103b72b704
update to just use one hooks and one component grid in ownership card
...
Signed-off-by: Prasetya Aria Wibawa <prasetya.wibawa@grabtaxi.com >
2022-03-24 14:20:30 +07:00
Prasetya Aria Wibawa
69d652f3cc
use relations.ownedBy for filter params in getEntities
...
Signed-off-by: Prasetya Aria Wibawa <prasetya.wibawa@grabtaxi.com >
2022-03-24 14:12:26 +07:00
Prasetya Aria Wibawa
e4d5b8c7ff
rename owner to ownerEntity for getQueryParams
...
Signed-off-by: Prasetya Aria Wibawa <prasetya.wibawa@grabtaxi.com >
2022-03-24 14:12:25 +07:00
Prasetya Aria Wibawa
80b47162be
fix failing test for links to the catalog with group filter
...
Signed-off-by: Prasetya Aria Wibawa <prasetya.wibawa@grabtaxi.com >
2022-03-24 14:12:25 +07:00
Prasetya Aria Wibawa
4a790094ee
use humanizeEntityRef
...
Signed-off-by: Prasetya Aria Wibawa <prasetya.wibawa@grabtaxi.com >
2022-03-24 14:12:25 +07:00
Prasetya Aria Wibawa
da70c0ef1a
check looping from length of requestedEntities
...
Signed-off-by: Prasetya Aria Wibawa <prasetya.wibawa@grabtaxi.com >
2022-03-24 14:12:25 +07:00
Prasetya Aria Wibawa
be6b97e2ed
change to use getEntityByRef
...
Signed-off-by: Prasetya Aria Wibawa <prasetya.wibawa@grabtaxi.com >
2022-03-24 14:12:25 +07:00
Prasetya Aria Wibawa
303bc1c7fb
use prettier
...
Signed-off-by: Prasetya Aria Wibawa <prasetya.wibawa@grabtaxi.com >
2022-03-24 14:12:25 +07:00
Prasetya Aria Wibawa
d9497b9b6e
change filterKinds in OwnershipCard test
...
Signed-off-by: Prasetya Aria Wibawa <prasetya.wibawa@grabtaxi.com >
2022-03-24 14:12:25 +07:00
Prasetya Aria Wibawa
b759a21c96
change isOwnerOf to use filter relations.ownedBy
...
Signed-off-by: Prasetya Aria Wibawa <prasetya.wibawa@grabtaxi.com >
2022-03-24 14:12:25 +07:00
Prasetya Aria Wibawa
5606d6065b
use getEntityRelations to get all memberOf groups
...
Signed-off-by: Prasetya Aria Wibawa <prasetya.wibawa@grabtaxi.com >
2022-03-24 14:12:25 +07:00
Prasetya Aria Wibawa
8183a00eae
change system test expectation for displays entity counts case
...
Signed-off-by: Prasetya Aria Wibawa <prasetya.wibawa@grabtaxi.com >
2022-03-24 14:12:24 +07:00
Prasetya Aria Wibawa
3e1a4ed473
use additional kind system for OwnershipCard test
...
Signed-off-by: Prasetya Aria Wibawa <prasetya.wibawa@grabtaxi.com >
2022-03-24 14:12:24 +07:00
Prasetya Aria Wibawa
fce26e8204
change to use supported version of useAsync
...
Signed-off-by: Prasetya Aria Wibawa <prasetya.wibawa@grabtaxi.com >
2022-03-24 14:12:24 +07:00
Prasetya Aria Wibawa
21f99270bb
change transitive word to aggregated
...
Signed-off-by: Prasetya Aria Wibawa <prasetya.wibawa@grabtaxi.com >
2022-03-24 14:12:24 +07:00
Prasetya Aria Wibawa
8e9ddcc5f0
change label props
...
Signed-off-by: Prasetya Aria Wibawa <prasetya.wibawa@grabtaxi.com >
2022-03-24 14:12:24 +07:00
Prasetya Aria Wibawa
b0dcb1289f
fix typo comment in changeset
...
Signed-off-by: Prasetya Aria Wibawa <prasetya.wibawa@grabtaxi.com >
2022-03-24 14:12:24 +07:00
Prasetya Aria Wibawa
539a0d754c
remove catalogListResponse from import statement
...
Signed-off-by: Prasetya Aria Wibawa <prasetya.wibawa@grabtaxi.com >
2022-03-24 14:12:24 +07:00
Prasetya Aria Wibawa
111995470d
add changeset
...
Signed-off-by: Prasetya Aria Wibawa <prasetya.wibawa@grabtaxi.com >
2022-03-24 14:12:24 +07:00
Prasetya Aria Wibawa
19fe9bfafb
add checked props to switch component
...
Signed-off-by: Prasetya Aria Wibawa <prasetya.wibawa@grabtaxi.com >
2022-03-24 14:12:24 +07:00
Prasetya Aria Wibawa
2566b48ebb
transitive ownership of entities for group kind
...
Signed-off-by: Prasetya Aria Wibawa <prasetya.wibawa@grabtaxi.com >
2022-03-24 14:12:17 +07:00
dependabot[bot]
f672b24272
build(deps): bump @graphql-tools/schema from 8.3.1 to 8.3.5
...
Bumps [@graphql-tools/schema](https://github.com/ardatan/graphql-tools/tree/HEAD/packages/schema ) from 8.3.1 to 8.3.5.
- [Release notes](https://github.com/ardatan/graphql-tools/releases )
- [Changelog](https://github.com/ardatan/graphql-tools/blob/master/packages/schema/CHANGELOG.md )
- [Commits](https://github.com/ardatan/graphql-tools/commits/@graphql-tools/schema@8.3.5/packages/schema )
---
updated-dependencies:
- dependency-name: "@graphql-tools/schema"
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2022-03-24 04:11:15 +00:00
dependabot[bot]
ecd72391fb
build(deps): bump @spotify/eslint-config-typescript
...
Bumps [@spotify/eslint-config-typescript](https://github.com/spotify/web-scripts ) from 12.0.0 to 13.0.0.
- [Release notes](https://github.com/spotify/web-scripts/releases )
- [Changelog](https://github.com/spotify/web-scripts/blob/master/CHANGELOG.md )
- [Commits](https://github.com/spotify/web-scripts/compare/v12.0.0...v13.0.0 )
---
updated-dependencies:
- dependency-name: "@spotify/eslint-config-typescript"
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
2022-03-24 04:09:00 +00:00
Patrik Oldsberg
918d695c62
workflows: make sure no existing feedback generate script exists
...
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com >
2022-03-24 00:17:04 +01:00
Patrik Oldsberg
8943792a3f
workflows: avoid running changeset feedback on bot PRs altogether
...
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com >
2022-03-23 23:59:08 +01:00
Patrik Oldsberg
e704667f01
workflows: switch changeset feedback to pull_request_target
...
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com >
2022-03-23 23:59:08 +01:00
Joe Porpeglia
4431873583
Add changeset
...
Signed-off-by: Joe Porpeglia <josephp@spotify.com >
2022-03-23 16:07:10 -04:00
Joe Porpeglia
c84d4ad373
Fix usePermission usage
...
Signed-off-by: Joe Porpeglia <josephp@spotify.com >
2022-03-23 16:07:10 -04:00
MT Lewis
3e0bbeda8b
permission-react: fix usePermission tests
...
Signed-off-by: MT Lewis <mtlewis@users.noreply.github.com >
2022-03-23 16:07:10 -04:00
MT Lewis
8c6129d3e0
permission-react: inline parameter type to clean up the api report a bit
...
Signed-off-by: MT Lewis <mtlewis@users.noreply.github.com >
2022-03-23 16:07:10 -04:00
Joe Porpeglia
91703e8086
permission-react: use object instead of tuple for usePermission args
...
Co-authored-by: Mike Lewis <mtlewis@users.noreply.github.com >
Signed-off-by: Joe Porpeglia <josephp@spotify.com >
2022-03-23 16:07:10 -04:00
MT Lewis
d88b5b3009
permission-react: fix changeset typo
...
Co-authored-by: Joe Porpeglia <josephp@spotify.com >
Signed-off-by: MT Lewis <mtlewis@users.noreply.github.com >
2022-03-23 16:07:10 -04:00
Mike Lewis
5bdcb8c45d
permission-react: more restrictive typing for usePermission and PermissionedRoute
...
Signed-off-by: Mike Lewis <mtlewis@users.noreply.github.com >
2022-03-23 16:07:10 -04:00
MT Lewis
9da18e4715
search: throw error for unexpected non-resource permissions when authorizing result-by-result
...
We only reach this point in the code for types where the initial
authorization returned CONDITIONAL -- ALLOWs return early immediately
above, and types where the decision was DENY get filtered out entirely
when querying.
This means the call to isResourcePermission here is mostly about
narrowing the types, since the only way for it to be false is if the
PermissionPolicy returned a CONDITIONAL decision for a non-resource
permission, which can't happen - it would throw an error during
validation in the permission-backend.
Signed-off-by: MT Lewis <mtlewis@users.noreply.github.com >
2022-03-23 15:58:42 -04:00