-
Notifications
You must be signed in to change notification settings - Fork 40k
feat(core): Add Data Store Backend API (no-changelog) #17824
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
Conversation
@@ -79,6 +79,13 @@ export const GLOBAL_OWNER_SCOPES: Scope[] = [ | |||
'insights:list', | |||
'folder:move', | |||
'oidc:manage', | |||
'dataStore:create', |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
these are for personal projects also, right?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It should be for all projects I think
packages/@n8n/permissions/src/roles/scopes/project-scopes.ee.ts
Outdated
Show resolved
Hide resolved
@@ -23,7 +23,7 @@ export class ModuleRegistry { | |||
private readonly modulesConfig: ModulesConfig, | |||
) {} | |||
|
|||
private readonly defaultModules: ModuleName[] = ['insights', 'external-secrets']; | |||
private readonly defaultModules: ModuleName[] = ['insights', 'external-secrets', 'data-store']; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
[nit] Shall we make it plural for consistency?
packages/@n8n/db/src/migrations/common/1747814180618-CreateDataStoreTables.ts
Outdated
Show resolved
Hide resolved
packages/@n8n/db/src/migrations/common/1747814180618-CreateDataStoreTables.ts
Outdated
Show resolved
Hide resolved
packages/cli/src/modules/data-store/data-store-rows.repository.ts
Outdated
Show resolved
Hide resolved
packages/cli/src/modules/data-store/data-store-rows.repository.ts
Outdated
Show resolved
Hide resolved
packages/cli/src/modules/data-store/data-store-column.repository.ts
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Lets ship this at this stage like this 🚀
I've verified that all the endpoints work and most of the code changes are within the module, which isn't enabled by default.
packages/cli/src/modules/data-store/__tests__/data-store.service.test.ts
Outdated
Show resolved
Hide resolved
E2E Tests: n8n tests passed after 4m 39.1s Run Details
Groups
This message was posted automatically by
currents.dev | Integration Settings
|
Summary
Initial draft for the data store backend.
Remaining work for initial deliverable:
I'm new to this, so there's probably a few issues, particularly I'm unsure about the following:
Related Linear tickets, Github issues, and Community forum posts
Linear project with links to notion phases https://linear.app/n8n/project/project-data-store-d3559ac715b1
Linear ticket for this PR https://linear.app/n8n/issue/ADO-3851/feature-implement-controller-and-service
Review / Merge checklist
release/backport
(if the PR is an urgent fix that needs to be backported)