Commit Graph

19509 Commits

Author SHA1 Message Date
Mike Lewis 5c5a1d16e4 authz: remove superfluous union type
PermissionCriteria<TQuery> is a union type which already includes
TQuery itself, so we don't need a second union here.

Signed-off-by: Mike Lewis <mtlewis@users.noreply.github.com>
2021-11-22 15:37:35 +00:00
Mike Lewis 75dd00c8b6 authz: add missing fields to permission-node package.json
Signed-off-by: Mike Lewis <mtlewis@users.noreply.github.com>
2021-11-22 15:37:35 +00:00
Mike Lewis e2088541dd authz: update references to permission-common after move to plugins
Signed-off-by: Mike Lewis <mtlewis@users.noreply.github.com>
2021-11-22 15:37:34 +00:00
Mike Lewis f72d7bba0e authz: add testsuite for createPermissionIntegration
Signed-off-by: Mike Lewis <mtlewis@users.noreply.github.com>
2021-11-22 15:37:34 +00:00
Mike Lewis 5c75c89106 authz: improve error handling in permission-node apply-conditions route
Signed-off-by: Mike Lewis <mtlewis@users.noreply.github.com>
2021-11-22 15:37:34 +00:00
Mike Lewis 2b668f2eb8 build(deps): add dependency on zod in permission-node
Signed-off-by: Mike Lewis <mtlewis@users.noreply.github.com>
2021-11-22 15:37:34 +00:00
Mike Lewis 22f5de9840 authz: update createPermissionIntegration to work with new PermissionCriteria type
Signed-off-by: Mike Lewis <mtlewis@users.noreply.github.com>
2021-11-22 15:37:34 +00:00
Mike Lewis d0a99e3219 authz: update permission-node api-report
Signed-off-by: Mike Lewis <mtlewis@users.noreply.github.com>
2021-11-22 15:37:34 +00:00
Mike Lewis 64b6ff368f authz: fix expected response type for /apply-conditions route
Signed-off-by: Mike Lewis <mtlewis@users.noreply.github.com>
2021-11-22 15:37:33 +00:00
Mike Lewis 652af0834a authz: add test suite for conditionFor
Signed-off-by: Mike Lewis <mtlewis@users.noreply.github.com>
2021-11-22 15:37:33 +00:00
Mike Lewis f3d2ccfeb8 authz: switch to unknown[] in PermissionRule type parameter
Signed-off-by: Mike Lewis <mtlewis@users.noreply.github.com>
2021-11-22 15:37:33 +00:00
Mike Lewis 4083fcdb5e authz: fix PermissionCondition type parameter
`unknown` doesn't satisfy the (recently added) `extends unknown[]`
constraint. In these two cases, we can remove the parameter entirely and
rely instead on the default of `unknown[]`.

Signed-off-by: Mike Lewis <mtlewis@users.noreply.github.com>
2021-11-22 15:37:33 +00:00
Mike Lewis a82709c38f authz: update unused type params in conditionFor to unknown
Signed-off-by: Mike Lewis <mtlewis@users.noreply.github.com>
2021-11-22 15:37:33 +00:00
Tim Hansen a1e2972dda Add permission-node package
Signed-off-by: Tim Hansen <timbonicus@gmail.com>
Co-authored-by: Mike Lewis <mtlewis@users.noreply.github.com>
Co-authored-by: Himanshu Mishra <himanshu@orkohunter.net>
Co-authored-by: Joe Porpeglia <joeporpeglia@users.noreply.github.com>
Co-authored-by: Vincenzo Scamporlino <vinzscam@users.noreply.github.com>
2021-11-22 15:37:32 +00:00
Andrew Tran e72e908e3f update example readme
Signed-off-by: Andrew Tran <atran@brex.com>
2021-11-22 09:32:52 -06:00
Ainhoa a2e1a008bf Merge pull request #8116 from ainhoaL/user-search-displayname
Add User entities displayName to default catalog collator to be able to search by user's full name
2021-11-22 15:32:26 +00:00
Patrik Oldsberg 87cd8ca64b Merge pull request #8186 from backstage/freben/bump-serialize-javascript
bump terser-webpack-plugin and therefore serialize-javascript
2021-11-22 16:31:12 +01:00
Andrew Tran 5f864eceed add example cronjob
Signed-off-by: Andrew Tran <atran@brex.com>
2021-11-22 09:26:19 -06:00
Ben Lambert d413156a2a Merge pull request #8187 from backstage/freben/remove-is-svg
make sure to get rid of is-svg
2021-11-22 16:24:27 +01:00
Ben Lambert 1d6f337916 Merge pull request #8195 from adamdmharvey/adr-title-bug
fix(docs): Missing ADR number in title
2021-11-22 16:24:01 +01:00
Fredrik Adelöw 1e57d1c23e Merge pull request #8071 from backstage/feat/change-default-port
Change default port of backend from 7000 to 7007
2021-11-22 15:58:48 +01:00
Andrew Tran 1caf4c2d72 update schema.d.ts
Signed-off-by: Andrew Tran <atran@brex.com>
2021-11-22 08:52:00 -06:00
Chad Jensen c844898a73 fixing another prettier issue
Signed-off-by: Chad Jensen <Chad.Jensen@c2fo.com>
2021-11-22 08:22:36 -06:00
Adam Harvey 7b4db0d1aa Fix missing ADR number in title
Signed-off-by: Adam Harvey <adaharve@cisco.com>
2021-11-22 09:17:19 -05:00
Morgan Martinet 90ad18e1a7 switch to patch release
Signed-off-by: Morgan Martinet <morgan@mmm-experts.com>
2021-11-22 09:06:20 -05:00
Fredrik Adelöw e62bf29c1d Merge pull request #8069 from goenning/fix-techinsights-docs
Fix techinsights docs: replaced DefaultTechInsightsBuilder with buildTechInsightsContext
2021-11-22 14:41:26 +01:00
Yousif Al-Raheem afa9dfe405 Merge branch 'backstage:master' into master 2021-11-22 13:56:56 +01:00
Fredrik Adelöw cd3aac016f Merge pull request #7817 from backstage/joonp/entitiessearchfilter-refactor
[Mini PRFC] EntitiesSearchFilter type refactor
2021-11-22 13:48:38 +01:00
Ainhoa Larumbe 4167f6ed7e change uppercase method
Signed-off-by: Ainhoa Larumbe <ainhoaL@users.noreply.github.com>
2021-11-22 12:42:29 +00:00
Patrik Oldsberg 3487a35ee4 Merge pull request #8175 from backstage/rugvip/release-flow
Tweak release process to require changesets for new packages
2021-11-22 13:23:04 +01:00
Patrik Oldsberg c8dac3c3b8 Merge pull request #8174 from backstage/rugvip/deprecations
scripts: add script for listing deprecations
2021-11-22 13:22:49 +01:00
Patrik Oldsberg b9af54d431 Merge pull request #8089 from backstage/rugvip/test-api
core,test-utils: deprecate ApiRegistry, add new TestApiProvider and TestApiRegistry
2021-11-22 13:22:33 +01:00
Patrik Oldsberg 9312572360 auth-backend: use more standardized error responses
Co-authored-by: Johan Haals <johan.haals@gmail.com>
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2021-11-22 13:17:26 +01:00
Ben Lambert 030ef22639 Merge pull request #8188 from backstage/freben/bump-mixme
bump mixme
2021-11-22 13:04:12 +01:00
Ainhoa Larumbe e5bff80f78 uppercase kind
Signed-off-by: Ainhoa Larumbe <ainhoaL@users.noreply.github.com>
2021-11-22 11:45:10 +00:00
Himanshu Mishra 979879d970 Merge pull request #8191 from petejespersqbe/feature/fix-qbe-name
Fix QBE name in adopters list
2021-11-22 16:53:24 +05:30
Pete Jespers 776cb9c1c5 Fix QBE name in adopters list 2021-11-22 11:04:11 +00:00
Yousif Al-Raheem db7227e659 use backstage link instead of react router link in memberslistcard
Signed-off-by: Yousif Al-Raheem <yousifalraheem@gmail.com>
2021-11-22 11:19:54 +01:00
Fredrik Adelöw 45dbf26094 bump mixme
Signed-off-by: Fredrik Adelöw <freben@gmail.com>
2021-11-22 11:15:18 +01:00
Fredrik Adelöw 84ea8bf566 make sure to get rid of is-svg
Signed-off-by: Fredrik Adelöw <freben@gmail.com>
2021-11-22 11:09:46 +01:00
Fredrik Adelöw 4f3f55f15f bump terser-webpack-plugin and therefore serialize-javascript
Signed-off-by: Fredrik Adelöw <freben@gmail.com>
2021-11-22 10:57:56 +01:00
Ainhoa Larumbe 73438d1ff1 change methods to private
Signed-off-by: Ainhoa Larumbe <ainhoaL@users.noreply.github.com>
2021-11-22 09:41:09 +00:00
Patrik Oldsberg 54fe58b85b Merge pull request #8173 from backstage/rugvip/best
cli: test coverage and speed improvements
2021-11-22 10:24:11 +01:00
Nicolas Arnold f9c0ad85d9 Addressing comments
Signed-off-by: Nicolas Arnold <nic@roadie.io>
2021-11-22 09:12:38 +00:00
Fredrik Adelöw 2c35a28386 Merge pull request #8180 from backstage/freben/frontmattersalot
Fix broken frontmatter on blog entries
2021-11-22 07:30:41 +01:00
Himanshu Mishra 1adba3011d Merge pull request #8184 from backstage/dependabot/npm_and_yarn/octokit/webhooks-9.18.0
chore(deps): bump @octokit/webhooks from 9.17.0 to 9.18.0
2021-11-22 11:31:00 +05:30
Morgan Martinet 3739d3f773 implement openshiftFormatter
Signed-off-by: Morgan Martinet <morgan@mmm-experts.com>
2021-11-22 00:05:55 -05:00
dependabot[bot] 3c15ad9a55 chore(deps): bump @octokit/webhooks from 9.17.0 to 9.18.0
Bumps [@octokit/webhooks](https://github.com/octokit/webhooks.js) from 9.17.0 to 9.18.0.
- [Release notes](https://github.com/octokit/webhooks.js/releases)
- [Commits](https://github.com/octokit/webhooks.js/compare/v9.17.0...v9.18.0)

---
updated-dependencies:
- dependency-name: "@octokit/webhooks"
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-11-22 04:13:50 +00:00
Tim Hansen acd0b2b939 Merge pull request #8183 from adamdmharvey/script-var-typo
chore(utility): Refactor script var typo
2021-11-21 20:44:32 -07:00
Adam Harvey 58aaad546e Refactor script var typo
Signed-off-by: Adam Harvey <adaharve@cisco.com>
2021-11-21 22:01:33 -05:00