Commit Graph

8882 Commits

Author SHA1 Message Date
Joon Park e15ce5c16e Integrate authorization into catalog-backend delete entities endpoint (#8805)
* Integrate authorization into catalog-backend delete entities endpoint

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

* Remove entity ref from request and handle conditional response

Signed-off-by: Joon Park <joonp@spotify.com>
2022-01-17 12:22:24 +00:00
Fredrik Adelöw c13beb05e4 Merge pull request #8943 from djamaile/master
feat(org): expose pageSize prop for MembersListCard component
2022-01-17 09:39:58 +01:00
djamaile f006fe2529 feat(org): expose pageSize prop for MembersListCard component
Signed-off-by: djamaile <rdjamaile@gmail.com>
2022-01-14 19:05:43 +01:00
Fredrik Adelöw 7cd53159a2 Merge pull request #8940 from SDA-SE/fix/api-docs-url
fix(api-docs): set url explicitly to an empty string
2022-01-14 18:57:19 +01:00
Dominik Schwank cd4e3c4d4e fix(api-docs): set url explicitly to an empty string
The url argument is undefined when it is not explicitly set to an empty string. An undefined url is
causing the swagger UI to fail on match checks.

fixes #8895

Signed-off-by: Dominik Schwank <dominik.schwank@sda.se>
2022-01-14 18:19:25 +01:00
Fredrik Adelöw a10b8c4df0 Merge pull request #8938 from djamaile/master
fix: typo in MembersListCard component
2022-01-14 17:41:05 +01:00
Fredrik Adelöw be5b5e3eba Merge pull request #8936 from backstage/freben/healer
Clear parent entity hashes on deletion, to get healing behaviors back
2022-01-14 17:14:02 +01:00
Fredrik Adelöw 7e8cc7d24e Merge pull request #6905 from tudi2d/mobile-sidebar
Mobile sidebar
2022-01-14 16:55:14 +01:00
Fredrik Adelöw 653d1fe263 better formulation
Signed-off-by: Fredrik Adelöw <freben@gmail.com>
2022-01-14 16:47:34 +01:00
djamaile 2908a41b9b fix: typo in MembersListCard component
Signed-off-by: djamaile <rdjamaile@gmail.com>
2022-01-14 16:42:07 +01:00
Fredrik Adelöw 68fa2e868d Merge pull request #8822 from erikxiv/techdocs-style-blockquote
Techdocs: use lighter color for block quotes and horizontal rulers
2022-01-14 16:29:13 +01:00
MT Lewis 71b09c83be Merge pull request #8799 from backstage/permissions-batching-improvements
permission-backend: wrap authorize request and response batches in envelope
2022-01-14 14:43:50 +00:00
Fredrik Adelöw dce98a92f7 Clear parent entity hashes on deletion, to get healing behaviors back
Signed-off-by: Fredrik Adelöw <freben@gmail.com>
2022-01-14 15:22:42 +01:00
Patrik Oldsberg 72d4b7061d Merge pull request #8719 from cmpadden/warn-app-config-deprecations
Warn users of deprecated keys in app configurations
2022-01-13 23:25:01 +01:00
Fredrik Adelöw 46d74fd427 Merge pull request #8774 from backstage/dependabot/npm_and_yarn/types/swagger-ui-react-4.1.1
build(deps-dev): bump @types/swagger-ui-react from 3.35.2 to 4.1.1
2022-01-13 22:32:49 +01:00
MT Lewis 12f5c33043 catalog-backend: rename permission-related variable to match type
Signed-off-by: MT Lewis <mtlewis@users.noreply.github.com>
2022-01-13 17:51:06 +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
MT Lewis 94d24c751d catalog-backend: fix getResources
The getResources method in catalog-backend should use the
unauthorizedEntitiesCatalog to load resources, otherwise
we end up authorizing access to entities during application
of conditions.

Signed-off-by: MT Lewis <mtlewis@users.noreply.github.com>
2022-01-13 17:23:32 +00:00
github-actions[bot] b04011602b Version Packages 2022-01-13 14:23:13 +00:00
Fredrik Adelöw 182e573def Merge pull request #8551 from backstage/authz-batching
permissions: more efficient integration between permission backend and plugin backends
2022-01-13 15:17:29 +01:00
Fredrik Adelöw ebc34d0a05 Merge pull request #8911 from backstage/rugvip/azureboot
azure-devops-backend: only warn if teams fail to load at startup
2022-01-13 15:14:38 +01:00
Fredrik Adelöw 4f04a54451 Merge pull request #8904 from backstage/blam/bump-graphql-dependencies
Bump GraphQL Dependencies in `graphql` plugins
2022-01-13 14:49:58 +01:00
Erik Engervall 1fcd816b06 Merge pull request #8910 from backstage/erikengervall/improve-patch-cta
[Plugin] git-release-manager: Improve patch CTA copy
2022-01-13 14:44:07 +01:00
Patrik Oldsberg 9f9596f9ef azure-devops-backend: only warn if teams fail to load at startup
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2022-01-13 14:40:52 +01: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
Erik Engervall b85010a0c8 Update api-report.md
Signed-off-by: Erik Engervall <erik.engervall@gmail.com>
2022-01-13 14:25:03 +01:00
Erik Engervall de065ce91c Fix tests
Signed-off-by: Erik Engervall <erik.engervall@gmail.com>
2022-01-13 14:06:21 +01:00
MT Lewis 74967cf50d catalog-backend: update permission integration to support batching
Signed-off-by: MT Lewis <mtlewis@users.noreply.github.com>
2022-01-13 13:05:36 +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 ef291ff985 permission-backend: move dataloader to router
Signed-off-by: MT Lewis <mtlewis@users.noreply.github.com>
2022-01-13 13:04:05 +00:00
MT Lewis 85b9e1ae60 permission-backend: use dataloader in PermissionIntegrationClient
Signed-off-by: MT Lewis <mtlewis@users.noreply.github.com>
2022-01-13 13:04:05 +00:00
MT Lewis e4c2ee4ba7 build(deps): add dependency on dataloader
Signed-off-by: MT Lewis <mtlewis@users.noreply.github.com>
2022-01-13 13:04:05 +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
Fredrik Adelöw 26c13d006a Merge pull request #8796 from goenning/go/log-error-tech-insights
[TechInsights] log errors when tech insights throws an error
2022-01-13 13:54:23 +01:00
Erik Engervall 9c0f87acc7 Improve Patch CTA copy
Signed-off-by: Erik Engervall <erik.engervall@gmail.com>
2022-01-13 13:25:55 +01:00
Joon Park 0a6c68582a Add authorization to entities get endpoints in catalog-backend. (#8711)
* Add authorization to entities get endpoints in catalog-backend.

The delete endpoint and the ancestry endpoint, as well as the rest of the endpoints in catalog-backend will be covered in later PRs.

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

* Refactor permissioning into AuthorizedNextEntitiesCatalog

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

* Create integration router in builder

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

* Fix test authorization strings

Signed-off-by: Joon Park <joonp@spotify.com>
2022-01-13 10:59:13 +00:00
blam 0d0476d594 chore: need to inherit the resolvers from the interfaces for niceness
Signed-off-by: blam <ben@blam.sh>
2022-01-13 11:32:25 +01:00
blam 36be75022f chore: updating the tests to actually work like before
Signed-off-by: blam <ben@blam.sh>
2022-01-13 11:31:57 +01:00
blam 2d4dfb1b98 chore: it's now a Module not a GraphQLModule
Signed-off-by: blam <ben@blam.sh>
2022-01-13 10:45:17 +01:00
blam dc4a5d7d91 chore: updating graphql-backend to support later versions of graphql-modules
Signed-off-by: blam <ben@blam.sh>
2022-01-13 10:45:17 +01:00
blam e79aaf9712 chore: bringing all this up to date with the new dependencies. Still some stuff to work with.
Signed-off-by: blam <ben@blam.sh>
2022-01-13 10:45:17 +01:00
Philipp Hugenroth 2989c82825 Avoid breaking changes
Signed-off-by: Philipp Hugenroth <philipph@spotify.com>
2022-01-13 10:35:33 +01:00
Eric Peterson 22a9001e69 Mock API, not module.
Signed-off-by: Eric Peterson <ericpeterson@spotify.com>
2022-01-13 09:42:11 +01:00
blam 50f4ebc247 chore: reworking some dependencies
Signed-off-by: blam <ben@blam.sh>
2022-01-13 08:29:38 +01:00