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(editor): Do not show credential details popup for users without necessary scopes with direct link #13264

Conversation

cstuncsik
Copy link
Contributor

@cstuncsik cstuncsik commented Feb 14, 2025

Summary

Sending someone a link to credential they don't have access causes unexpected state

Related Linear tickets, Github issues, and Community forum posts

PAY-2602

Review / Merge checklist

  • PR title and summary are descriptive.
  • Tests included.
  • PR Labeled with release/backport

…meone-a-link-to-credential-they-dont-have-access

# Conflicts:
#	packages/editor-ui/src/views/CredentialsView.vue
@n8n-assistant n8n-assistant bot added n8n team Authored by the n8n team ui Enhancement in /editor-ui or /design-system labels Feb 14, 2025
@cstuncsik cstuncsik marked this pull request as ready for review February 17, 2025 11:18
Copy link

codecov bot commented Feb 17, 2025

Codecov Report

Attention: Patch coverage is 91.66667% with 4 lines in your changes missing coverage. Please review.

Files with missing lines Patch % Lines
packages/editor-ui/src/routes/projects.routes.ts 78.94% 4 Missing ⚠️

📢 Thoughts on this report? Let us know!

@cstuncsik cstuncsik changed the title fix(editor): Check for available project in router middleware in project routes fix(editor): Do not show credential details popup for users without necessary scopes with direct link Feb 17, 2025
@cstuncsik cstuncsik requested a review from r00gm February 17, 2025 14:31
Copy link

cypress bot commented Feb 17, 2025

n8n    Run #9308

Run Properties:  status check passed Passed #9308  •  git commit dc18a63ab7: 🌳 🖥️ browsers:node18.12.0-chrome107 🤖 cstuncsik 🗃️ e2e/*
Project n8n
Branch Review pay-2602-sending-someone-a-link-to-credential-they-dont-have-access
Run status status check passed Passed #9308
Run duration 04m 35s
Commit git commit dc18a63ab7: 🌳 🖥️ browsers:node18.12.0-chrome107 🤖 cstuncsik 🗃️ e2e/*
Committer Csaba Tuncsik
View all properties for this run ↗︎

Test results
Tests that failed  Failures 0
Tests that were flaky  Flaky 1
Tests that did not run due to a developer annotating a test with .skip  Pending 5
Tests that did not run due to a failure in a mocha hook  Skipped 0
Tests that passed  Passing 437
View all changes introduced in this branch ↗︎

Copy link
Contributor

✅ All Cypress E2E specs passed

@cstuncsik cstuncsik merged commit a5401d0 into master Feb 17, 2025
37 checks passed
@cstuncsik cstuncsik deleted the pay-2602-sending-someone-a-link-to-credential-they-dont-have-access branch February 17, 2025 15:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
n8n team Authored by the n8n team ui Enhancement in /editor-ui or /design-system
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants