Commit Graph

19467 Commits

Author SHA1 Message Date
Mike Lewis fafb482d73 permission-backend: add request validation
Signed-off-by: Mike Lewis <mtlewis@users.noreply.github.com>
2021-11-24 15:27:42 +00:00
Andrew Tran da9ecc18e4 prettier yaml
Signed-off-by: Andrew Tran <atran@brex.com>
2021-11-24 09:24:07 -06:00
Mike Lewis 12b0eebfb5 permission-backend: pass in identity client
Signed-off-by: Mike Lewis <mtlewis@users.noreply.github.com>
2021-11-24 15:18:50 +00:00
Mike Lewis 1ff5d10a62 permission-backend: update dependency on permission-node to 0.0.0 to match unreleased version
Signed-off-by: Mike Lewis <mtlewis@users.noreply.github.com>
2021-11-24 14:53:20 +00:00
Fredrik Adelöw bce51e377b Merge pull request #8213 from jodybro/v1-api-version-for-ingress
support v1 api for ingress object
2021-11-24 15:51:24 +01:00
Fredrik Adelöw c007c371ed Merge pull request #8203 from backstage/joonp/entity-filter-empty-values
Handle empty values array in EntityFilter
2021-11-24 15:49:10 +01:00
Mike Lewis b5e43875d5 permission-backend: enumerate exports in service index
Signed-off-by: Mike Lewis <mtlewis@users.noreply.github.com>
2021-11-24 14:47:51 +00:00
Mike Lewis 8f83584706 permission-backend: remove standaloneServer, run.ts and AllowAllPermissionPolicy
The run.ts / standaloneServer.ts stuff is a hangover and expected to
be removed or heavily adjusted in the future, and since it's intended
to run from the command line, there's no neat way to pass in a
permission policy. As such it's not going to be useful in its current
form, so we're removing it for now.

Signed-off-by: Mike Lewis <mtlewis@users.noreply.github.com>
2021-11-24 14:35:14 +00:00
Mike Lewis dfd3b25c34 permission-backend: set version to 0.0.0 before initial release
Signed-off-by: Mike Lewis <mtlewis@users.noreply.github.com>
2021-11-24 14:32:31 +00:00
Mike Lewis f5c3211129 permission-backend: 500 when policy returns incorrect resourceType
Signed-off-by: Mike Lewis <mtlewis@users.noreply.github.com>
2021-11-24 14:31:43 +00:00
Mike Lewis dbd89112a5 permission-backend: add permission-node integration tests
Signed-off-by: Mike Lewis <mtlewis@users.noreply.github.com>
2021-11-24 14:31:42 +00:00
Mike Lewis 2335e0a01f permission-backend: update default port for standalone server
Signed-off-by: Mike Lewis <mtlewis@users.noreply.github.com>
2021-11-24 14:31:42 +00:00
Mike Lewis 7f4a77a884 permission-backend: add todo
Signed-off-by: Mike Lewis <mtlewis@users.noreply.github.com>
2021-11-24 14:31:42 +00:00
Mike Lewis cd77cbd48f permission-backend: clean up PermissionIntegrationClient applyConditions signature
Signed-off-by: Mike Lewis <mtlewis@users.noreply.github.com>
2021-11-24 14:31:42 +00:00
Mike Lewis 6de1e719d4 permission-backend: api docs
Signed-off-by: Mike Lewis <mtlewis@users.noreply.github.com>
2021-11-24 14:31:42 +00:00
Mike Lewis 0ce2bc4129 permission-backend: remove manual construction of service discovery
We shouldn't be constructing a service discovery implementation inside
the router, since it removes the ability to provide a different
discovery mechanism.

Signed-off-by: Mike Lewis <mtlewis@users.noreply.github.com>
2021-11-24 14:31:41 +00:00
Mike Lewis e9b6b7bf89 permission-backend: extract client for calling other plugins to apply conditions
Also adds response validation

Signed-off-by: Mike Lewis <mtlewis@users.noreply.github.com>
2021-11-24 14:31:41 +00:00
Mike Lewis 671bf72ed6 permission-backend: fix initial test suite
Signed-off-by: Mike Lewis <mtlewis@users.noreply.github.com>
2021-11-24 14:31:41 +00:00
Mike Lewis 4ca6802b97 permission-backend: bump @backstage/cli
Signed-off-by: Mike Lewis <mtlewis@users.noreply.github.com>
2021-11-24 14:31:41 +00:00
Mike Lewis be1f89d383 permission-backend: extract AllowAllPermissionPolicy from standaloneServer in permission-backend
Signed-off-by: Mike Lewis <mtlewis@users.noreply.github.com>
2021-11-24 14:31:40 +00:00
Mike Lewis 806778d58e permission-backend: fixup api-report
Signed-off-by: Mike Lewis <mtlewis@users.noreply.github.com>
2021-11-24 14:31:40 +00:00
Tim Hansen f028746410 Add permission-backend plugin
Signed-off-by: Tim Hansen <timbonicus@gmail.com>
2021-11-24 14:31:40 +00:00
Mike Lewis 370da15e7b permission-node: separate doc comment summaries with @remarks tag
Signed-off-by: Mike Lewis <mtlewis@users.noreply.github.com>
2021-11-24 14:30:21 +00:00
Fredrik Adelöw f7bf4eea21 Merge pull request #7812 from backstage/dependabot/npm_and_yarn/gitbeaker/node-34.4.1
build(deps): bump @gitbeaker/node from 30.3.0 to 34.4.1
2021-11-24 15:25:29 +01:00
Mike Lewis 44b46644d9 permission-node: add changeset for initial release
Signed-off-by: Mike Lewis <mtlewis@users.noreply.github.com>
2021-11-24 14:22:32 +00:00
Johan Haals c1ae2b4dc1 Merge pull request #8230 from lorsatti/lorsatti/adopters
Add LogMeIn as an adopter
2021-11-24 15:21:40 +01:00
Mike Lewis aded9bbc22 permission-node: set version to 0.0.0 before initial release
Signed-off-by: Mike Lewis <mtlewis@users.noreply.github.com>
2021-11-24 14:20:56 +00:00
Mike Lewis f5a25ec804 permission-node: fix typo in doc comment
Co-authored-by: Fredrik Adelöw <freben@gmail.com>
Signed-off-by: Mike Lewis <mtlewis@users.noreply.github.com>
2021-11-24 14:19:59 +00:00
Mike Lewis b08dbb1035 permission-node: destructure options inside function to simplify api-report
Signed-off-by: Mike Lewis <mtlewis@users.noreply.github.com>
2021-11-24 14:18:11 +00:00
Fredrik Adelöw 42ebbc18c0 get both gitbeaker packages bumped, and add changeset
Signed-off-by: Fredrik Adelöw <freben@gmail.com>
2021-11-24 14:21:45 +01:00
dependabot[bot] e99db76f6a build(deps): bump @gitbeaker/node from 30.3.0 to 34.4.1
Bumps [@gitbeaker/node](https://github.com/jdalrymple/gitbeaker) from 30.3.0 to 34.4.1.
- [Release notes](https://github.com/jdalrymple/gitbeaker/releases)
- [Changelog](https://github.com/jdalrymple/gitbeaker/blob/master/CHANGELOG.md)
- [Commits](https://github.com/jdalrymple/gitbeaker/compare/30.3.0...34.4.1)

---
updated-dependencies:
- dependency-name: "@gitbeaker/node"
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-11-24 14:19:24 +01:00
blam e634a47ce5 chore: added changeset
Signed-off-by: blam <ben@blam.sh>
2021-11-24 14:03:22 +01:00
Lorenzo Orsatti 4be343d2dd add LogMeIn as an adopter
Signed-off-by: Lorenzo Orsatti <49567430+lorsatti@users.noreply.github.com>
2021-11-24 14:03:00 +01:00
blam 5fd0e077bc chore: adding test for this bug
Signed-off-by: blam <ben@blam.sh>
2021-11-24 14:01:26 +01:00
blam 92405f32bb bug: should check the children of the first parse, not the root.
Signed-off-by: blam <ben@blam.sh>
2021-11-24 13:55:28 +01:00
Johan Haals a7d3cbf79c Merge pull request #8212 from backstage/mob/deprecate-register
core-plugin-api: Deprecate Plugin register and output
2021-11-24 13:23:44 +01:00
Ben Lambert 138c559231 Merge pull request #8218 from lorsatti/fix/swagger-style
Add missing styles to Swagger (dark mode)
2021-11-24 13:19:30 +01:00
Fredrik Adelöw 22f96d7efc Merge pull request #8172 from goenning/go/azure-devops-discovery
adding AzureDevOps Discovery Processor
2021-11-24 13:07:13 +01:00
Fredrik Adelöw 825787e6bd Merge pull request #8164 from RoadieHQ/infinite-location-loop
Fail when adding duplicate locations using the dry run flag
2021-11-24 12:05:48 +01:00
Nicolas Arnold f658a34178 Using stringEntityRef for comparision
Signed-off-by: Nicolas Arnold <nic@roadie.io>
2021-11-24 10:39:59 +00:00
Himanshu Mishra 0ef5c9b8f4 Merge pull request #8223 from backstage/dependabot/npm_and_yarn/testing-library/cypress-8.0.2
chore(deps-dev): bump @testing-library/cypress from 7.0.6 to 8.0.2
2021-11-24 14:17:04 +05:30
Johan Haals 88f5378397 Add export, update API report
Signed-off-by: Johan Haals <johan.haals@gmail.com>
2021-11-24 09:36:40 +01:00
Himanshu Mishra 0273d58bfd Merge pull request #8224 from backstage/dependabot/npm_and_yarn/storybook/addon-actions-6.3.12
chore(deps-dev): bump @storybook/addon-actions from 6.3.7 to 6.3.12
2021-11-24 10:57:16 +05:30
dependabot[bot] b8f430eee0 chore(deps-dev): bump @storybook/addon-actions from 6.3.7 to 6.3.12
Bumps [@storybook/addon-actions](https://github.com/storybookjs/storybook/tree/HEAD/addons/actions) from 6.3.7 to 6.3.12.
- [Release notes](https://github.com/storybookjs/storybook/releases)
- [Changelog](https://github.com/storybookjs/storybook/blob/next/CHANGELOG.md)
- [Commits](https://github.com/storybookjs/storybook/commits/v6.3.12/addons/actions)

---
updated-dependencies:
- dependency-name: "@storybook/addon-actions"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-11-24 04:13:08 +00:00
dependabot[bot] fb90b70de5 chore(deps-dev): bump @testing-library/cypress from 7.0.6 to 8.0.2
Bumps [@testing-library/cypress](https://github.com/kentcdodds/cypress-testing-library) from 7.0.6 to 8.0.2.
- [Release notes](https://github.com/kentcdodds/cypress-testing-library/releases)
- [Changelog](https://github.com/testing-library/cypress-testing-library/blob/main/CHANGELOG.md)
- [Commits](https://github.com/kentcdodds/cypress-testing-library/compare/v7.0.6...v8.0.2)

---
updated-dependencies:
- dependency-name: "@testing-library/cypress"
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-11-24 04:11:52 +00:00
Morgan Martinet 2c54173a39 apply code review recommandations
use encodeURIComponent on dynamic parts
ensure that we keep any dashboard path prefix when generating links
move URL hash exception for SPAs into the standardFormatter

Signed-off-by: Morgan Martinet <morgan@mmm-experts.com>
2021-11-23 18:01:30 -05:00
Lorenzo Orsatti c982fc12cb add changeset
Signed-off-by: Lorenzo Orsatti <49567430+lorsatti@users.noreply.github.com>
2021-11-23 22:04:15 +01:00
Lorenzo Orsatti f803ac931e add missing styles to Swagger (dark mode)
Signed-off-by: Lorenzo Orsatti <49567430+lorsatti@users.noreply.github.com>
2021-11-23 21:50:46 +01:00
goenning f1ba6dfb1d fix comments, support onpremise and paging
Signed-off-by: goenning <me@goenning.net>
2021-11-23 19:03:46 +00:00
jodybro 6de3b8fb24 support v1 api for ingress object
Signed-off-by: jodybro <ajodasattaur@gmail.com>
2021-11-23 13:30:01 -05:00