Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(core): Skip auth for controllers/routes that don't use the Authorized decorator, or use Authorized('none') #6106

Merged
merged 2 commits into from
Apr 27, 2023

Conversation

netroy
Copy link
Member

@netroy netroy commented Apr 27, 2023

No description provided.

@github-actions
Copy link
Contributor

Great PR! Please pay attention to the following items before merging:

Files matching packages/**:

  • If fixing bug, added test to cover scenario.
  • If addressing forum or Github issue, added link to description.

Files matching packages/**/*.ts:

  • Added unit tests to cover new or updated functionality.

Make sure to check off this list before asking for review.

@n8n-assistant n8n-assistant bot added core Enhancement outside /nodes-base and /editor-ui n8n team Authored by the n8n team labels Apr 27, 2023
@codecov
Copy link

codecov bot commented Apr 27, 2023

Codecov Report

Patch coverage: 100.00% and no project coverage change.

Comparison is base (25a386d) 19.18% compared to head (18bdf35) 19.19%.

Additional details and impacted files
@@           Coverage Diff           @@
##           master    #6106   +/-   ##
=======================================
  Coverage   19.18%   19.19%           
=======================================
  Files        2589     2589           
  Lines      116877   116882    +5     
  Branches    18336    18338    +2     
=======================================
+ Hits        22426    22431    +5     
  Misses      93806    93806           
  Partials      645      645           
Impacted Files Coverage Δ
packages/cli/src/decorators/registerController.ts 91.66% <100.00%> (+1.04%) ⬆️
packages/cli/src/middlewares/auth.ts 89.58% <100.00%> (+0.22%) ⬆️

☔ View full report in Codecov by Sentry.
📢 Do you have feedback about the report comment? Let us know in this issue.

@github-actions
Copy link
Contributor

✅ All Cypress E2E specs passed

@netroy netroy merged commit 59aee22 into master Apr 27, 2023
@netroy netroy deleted the fix-skipping-auth branch April 27, 2023 10:51
MiloradFilipovic added a commit that referenced this pull request Apr 27, 2023
* master:
  fix(editor): Remove pagination from binary data output (#6093)
  fix(editor): Show error in RLC if credentials are not set (#6108)
  fix(editor): Loading state for executions tab (#6100)
  ci: Additionally checkout PR head for e2e tests (no-changelog) (#6105)
  fix(core): Skip auth for controllers/routes that don't use the `Authorized` decorator, or use `Authorized('none')` (#6106)
  fix(editor): Disable changing of email and pw when SAML login enabled (#6104)
  fix(HTTP Request Node): Always lowercase headers
  fix(Compression Node): Fix issue with decompression failing with uppercase extensions (#6098)
  fix(Mattermost Node): Fix base url trailing slash error (#6097)
  feat(Item Lists Node): Split out items work on objects as well as arrays
netroy added a commit that referenced this pull request May 2, 2023
…rized` decorator, or use `Authorized('none')` (#6106)
@janober
Copy link
Member

janober commented May 2, 2023

Got released with [email protected]

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
core Enhancement outside /nodes-base and /editor-ui n8n team Authored by the n8n team Released
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants