@n8n/stores 2.36.3 → 2.37.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (39) hide show
  1. package/dist/cloudPlan.store.d.mts +66 -66
  2. package/dist/composables/useBasePageRedirectionHelper.cjs +28 -8
  3. package/dist/composables/useBasePageRedirectionHelper.cjs.map +1 -1
  4. package/dist/composables/useBasePageRedirectionHelper.d.cts +7 -0
  5. package/dist/composables/useBasePageRedirectionHelper.d.mts +7 -0
  6. package/dist/composables/useBasePageRedirectionHelper.mjs +28 -8
  7. package/dist/composables/useBasePageRedirectionHelper.mjs.map +1 -1
  8. package/dist/constants2.cjs +1 -0
  9. package/dist/constants2.cjs.map +1 -1
  10. package/dist/constants2.d.cts +1 -0
  11. package/dist/constants2.d.mts +1 -0
  12. package/dist/constants2.mjs +1 -0
  13. package/dist/constants2.mjs.map +1 -1
  14. package/dist/notifications.store.d.cts +2 -2
  15. package/dist/notifications.store.d.mts +2 -2
  16. package/dist/pageRedirection.d.cts +2 -2
  17. package/dist/pageRedirection.d.mts +2 -2
  18. package/dist/rbac.store.cjs +1 -0
  19. package/dist/rbac.store.cjs.map +1 -1
  20. package/dist/rbac.store.d.cts +135 -129
  21. package/dist/rbac.store.d.mts +135 -129
  22. package/dist/rbac.store.mjs +1 -0
  23. package/dist/rbac.store.mjs.map +1 -1
  24. package/dist/roles.store.d.cts +19 -19
  25. package/dist/roles.store.d.mts +21 -21
  26. package/dist/settings.store.d.cts +256 -250
  27. package/dist/settings.store.d.mts +254 -248
  28. package/dist/settings2.store.cjs +9 -0
  29. package/dist/settings2.store.cjs.map +1 -1
  30. package/dist/settings2.store.mjs +9 -0
  31. package/dist/settings2.store.mjs.map +1 -1
  32. package/dist/useAgentRequestStore.d.cts +2 -2
  33. package/dist/useRootStore.d.cts +73 -73
  34. package/dist/useRootStore.d.mts +75 -75
  35. package/dist/users.store.d.cts +52 -52
  36. package/dist/users.store.d.mts +52 -52
  37. package/dist/versions.store.d.cts +30 -30
  38. package/dist/versions.store.d.mts +30 -30
  39. package/package.json +13 -13
@@ -1,6 +1,6 @@
1
1
  //#region src/types/pageRedirection.d.ts
2
- type CloudUpdateLinkSourceType = 'advanced-permissions' | 'canvas-nav' | 'concurrency' | 'custom-data-filter' | 'workflow_sharing' | 'credential_sharing' | 'settings-n8n-api' | 'audit-logs' | 'ldap' | 'log-streaming' | 'source-control' | 'sso' | 'usage_page' | 'settings-users' | 'variables' | 'community-nodes' | 'workflow-history' | 'worker-view' | 'external-secrets' | 'rbac' | 'debug' | 'insights' | 'evaluations' | 'ai-builder-sidebar' | 'ai-builder-canvas' | 'custom-roles' | 'custom-roles-selector' | 'custom-roles-list' | 'main-sidebar' | 'chat-hub' | 'empty-state-builder-prompt' | 'instance-ai' | 'data-redaction' | 'workflow-settings' | 'trial-welcome-modal';
3
- type UTMCampaign = 'upgrade-custom-data-filter' | 'upgrade-concurrency' | 'upgrade-workflow-sharing' | 'upgrade-credentials-sharing' | 'upgrade-api' | 'upgrade-audit-logs' | 'upgrade-ldap' | 'upgrade-log-streaming' | 'upgrade-source-control' | 'upgrade-sso' | 'open' | 'upgrade-users' | 'upgrade-variables' | 'upgrade-community-nodes' | 'upgrade-workflow-history' | 'upgrade-advanced-permissions' | 'upgrade-worker-view' | 'upgrade-external-secrets' | 'upgrade-rbac' | 'upgrade-debug' | 'upgrade-insights' | 'upgrade-evaluations' | 'upgrade-builder' | 'upgrade-custom-roles' | 'upgrade-canvas-nav' | 'upgrade-main-sidebar' | 'upgrade-instance-ai' | 'upgrade-data-redaction';
2
+ type CloudUpdateLinkSourceType = 'advanced-permissions' | 'canvas-nav' | 'concurrency' | 'custom-data-filter' | 'workflow_sharing' | 'credential_sharing' | 'settings-n8n-api' | 'audit-logs' | 'ldap' | 'log-streaming' | 'source-control' | 'sso' | 'usage_page' | 'settings-users' | 'variables' | 'community-nodes' | 'workflow-history' | 'worker-view' | 'external-secrets' | 'rbac' | 'debug' | 'insights' | 'evaluations' | 'ai-builder-sidebar' | 'ai-builder-canvas' | 'custom-roles' | 'custom-roles-selector' | 'custom-roles-list' | 'main-sidebar' | 'chat-hub' | 'empty-state-builder-prompt' | 'instance-ai' | 'data-redaction' | 'workflow-settings' | 'trial-welcome-modal' | 'ai-gateway-top-up';
3
+ type UTMCampaign = 'upgrade-custom-data-filter' | 'upgrade-concurrency' | 'upgrade-workflow-sharing' | 'upgrade-credentials-sharing' | 'upgrade-api' | 'upgrade-audit-logs' | 'upgrade-ldap' | 'upgrade-log-streaming' | 'upgrade-source-control' | 'upgrade-sso' | 'open' | 'upgrade-users' | 'upgrade-variables' | 'upgrade-community-nodes' | 'upgrade-workflow-history' | 'upgrade-advanced-permissions' | 'upgrade-worker-view' | 'upgrade-external-secrets' | 'upgrade-rbac' | 'upgrade-debug' | 'upgrade-insights' | 'upgrade-evaluations' | 'upgrade-builder' | 'upgrade-custom-roles' | 'upgrade-canvas-nav' | 'upgrade-main-sidebar' | 'upgrade-instance-ai' | 'upgrade-data-redaction' | 'upgrade-ai-gateway-top-up';
4
4
  //#endregion
5
5
  export { UTMCampaign as n, CloudUpdateLinkSourceType as t };
6
6
  //# sourceMappingURL=pageRedirection.d.cts.map
@@ -1,6 +1,6 @@
1
1
  //#region src/types/pageRedirection.d.ts
2
- type CloudUpdateLinkSourceType = 'advanced-permissions' | 'canvas-nav' | 'concurrency' | 'custom-data-filter' | 'workflow_sharing' | 'credential_sharing' | 'settings-n8n-api' | 'audit-logs' | 'ldap' | 'log-streaming' | 'source-control' | 'sso' | 'usage_page' | 'settings-users' | 'variables' | 'community-nodes' | 'workflow-history' | 'worker-view' | 'external-secrets' | 'rbac' | 'debug' | 'insights' | 'evaluations' | 'ai-builder-sidebar' | 'ai-builder-canvas' | 'custom-roles' | 'custom-roles-selector' | 'custom-roles-list' | 'main-sidebar' | 'chat-hub' | 'empty-state-builder-prompt' | 'instance-ai' | 'data-redaction' | 'workflow-settings' | 'trial-welcome-modal';
3
- type UTMCampaign = 'upgrade-custom-data-filter' | 'upgrade-concurrency' | 'upgrade-workflow-sharing' | 'upgrade-credentials-sharing' | 'upgrade-api' | 'upgrade-audit-logs' | 'upgrade-ldap' | 'upgrade-log-streaming' | 'upgrade-source-control' | 'upgrade-sso' | 'open' | 'upgrade-users' | 'upgrade-variables' | 'upgrade-community-nodes' | 'upgrade-workflow-history' | 'upgrade-advanced-permissions' | 'upgrade-worker-view' | 'upgrade-external-secrets' | 'upgrade-rbac' | 'upgrade-debug' | 'upgrade-insights' | 'upgrade-evaluations' | 'upgrade-builder' | 'upgrade-custom-roles' | 'upgrade-canvas-nav' | 'upgrade-main-sidebar' | 'upgrade-instance-ai' | 'upgrade-data-redaction';
2
+ type CloudUpdateLinkSourceType = 'advanced-permissions' | 'canvas-nav' | 'concurrency' | 'custom-data-filter' | 'workflow_sharing' | 'credential_sharing' | 'settings-n8n-api' | 'audit-logs' | 'ldap' | 'log-streaming' | 'source-control' | 'sso' | 'usage_page' | 'settings-users' | 'variables' | 'community-nodes' | 'workflow-history' | 'worker-view' | 'external-secrets' | 'rbac' | 'debug' | 'insights' | 'evaluations' | 'ai-builder-sidebar' | 'ai-builder-canvas' | 'custom-roles' | 'custom-roles-selector' | 'custom-roles-list' | 'main-sidebar' | 'chat-hub' | 'empty-state-builder-prompt' | 'instance-ai' | 'data-redaction' | 'workflow-settings' | 'trial-welcome-modal' | 'ai-gateway-top-up';
3
+ type UTMCampaign = 'upgrade-custom-data-filter' | 'upgrade-concurrency' | 'upgrade-workflow-sharing' | 'upgrade-credentials-sharing' | 'upgrade-api' | 'upgrade-audit-logs' | 'upgrade-ldap' | 'upgrade-log-streaming' | 'upgrade-source-control' | 'upgrade-sso' | 'open' | 'upgrade-users' | 'upgrade-variables' | 'upgrade-community-nodes' | 'upgrade-workflow-history' | 'upgrade-advanced-permissions' | 'upgrade-worker-view' | 'upgrade-external-secrets' | 'upgrade-rbac' | 'upgrade-debug' | 'upgrade-insights' | 'upgrade-evaluations' | 'upgrade-builder' | 'upgrade-custom-roles' | 'upgrade-canvas-nav' | 'upgrade-main-sidebar' | 'upgrade-instance-ai' | 'upgrade-data-redaction' | 'upgrade-ai-gateway-top-up';
4
4
  //#endregion
5
5
  export { UTMCampaign as n, CloudUpdateLinkSourceType as t };
6
6
  //# sourceMappingURL=pageRedirection.d.mts.map
@@ -21,6 +21,7 @@ const useRBACStore = (0, pinia.defineStore)(require_constants.STORES.RBAC, () =>
21
21
  variable: {},
22
22
  projectVariable: {},
23
23
  sourceControl: {},
24
+ gitConnection: {},
24
25
  externalSecretsProvider: {},
25
26
  externalSecret: {},
26
27
  project: {},
@@ -1 +1 @@
1
- {"version":3,"file":"rbac.store.cjs","names":["STORES"],"sources":["../src/rbac.store.ts"],"sourcesContent":["import type { Role } from '@n8n/api-types';\nimport { hasScope as genericHasScope } from '@n8n/permissions';\nimport type { ScopeOptions, Scope, Resource } from '@n8n/permissions';\nimport { defineStore } from 'pinia';\nimport { ref } from 'vue';\n\nimport { STORES } from './constants';\n\nexport const useRBACStore = defineStore(STORES.RBAC, () => {\n\tconst globalRoles = ref<Role[]>([]);\n\tconst rolesByProjectId = ref<Record<string, string[]>>({});\n\n\tconst globalScopes = ref<Scope[]>([]);\n\tconst scopesByProjectId = ref<Record<string, Scope[]>>({});\n\tconst scopesByResourceId = ref<Record<Resource, Record<string, Scope[]>>>({\n\t\tagent: {},\n\t\taiAssistant: {},\n\t\tworkflow: {},\n\t\ttag: {},\n\t\tannotationTag: {},\n\t\tuser: {},\n\t\tcredential: {},\n\t\tvariable: {},\n\t\tprojectVariable: {},\n\t\tsourceControl: {},\n\t\texternalSecretsProvider: {},\n\t\texternalSecret: {},\n\t\tproject: {},\n\t\torchestration: {},\n\t\tworkersView: {},\n\t\teventBusDestination: {},\n\t\tauditLogs: {},\n\t\tbanner: {},\n\t\tcommunity: {},\n\t\tcommunityPackage: {},\n\t\tldap: {},\n\t\tlicense: {},\n\t\tlogStreaming: {},\n\t\tsaml: {},\n\t\toidc: {},\n\t\tprovisioning: {},\n\t\tsecurityAudit: {},\n\t\tfolder: {},\n\t\tinsights: {},\n\t\tdataTable: {},\n\t\texecution: {},\n\t\ttestRun: {},\n\t\tworkflowTags: {},\n\t\trole: {},\n\t\tmcp: {},\n\t\tmcpApiKey: {},\n\t\tchatHub: {},\n\t\tchatHubAgent: {},\n\t\tbreakingChanges: {},\n\t\tapiKey: {},\n\t\tencryptionKey: {},\n\t\tcredentialResolver: {},\n\t\tinstanceAi: {},\n\t\tsecuritySettings: {},\n\t\troleMappingRule: {},\n\t\totel: {},\n\t});\n\n\tfunction addGlobalRole(role: Role) {\n\t\tif (!globalRoles.value.includes(role)) {\n\t\t\tglobalRoles.value.push(role);\n\t\t}\n\t}\n\n\tfunction hasRole(role: Role) {\n\t\treturn globalRoles.value.includes(role);\n\t}\n\n\tfunction addGlobalScope(scope: Scope) {\n\t\tif (!globalScopes.value.includes(scope)) {\n\t\t\tglobalScopes.value.push(scope);\n\t\t}\n\t}\n\n\tfunction setGlobalScopes(scopes: Scope[]) {\n\t\tglobalScopes.value = scopes;\n\t}\n\n\tfunction addProjectScope(\n\t\tscope: Scope,\n\t\tcontext: {\n\t\t\tprojectId: string;\n\t\t},\n\t) {\n\t\tif (!scopesByProjectId.value[context.projectId]) {\n\t\t\tscopesByProjectId.value[context.projectId] = [];\n\t\t}\n\n\t\tif (!scopesByProjectId.value[context.projectId].includes(scope)) {\n\t\t\tscopesByProjectId.value[context.projectId].push(scope);\n\t\t}\n\t}\n\n\tfunction addResourceScope(\n\t\tscope: Scope,\n\t\tcontext: {\n\t\t\tresourceType: Resource;\n\t\t\tresourceId: string;\n\t\t},\n\t) {\n\t\tconst scopesByResourceType = scopesByResourceId.value[context.resourceType];\n\t\tif (!scopesByResourceType[context.resourceId]) {\n\t\t\tscopesByResourceType[context.resourceId] = [];\n\t\t}\n\n\t\tif (!scopesByResourceType[context.resourceId].includes(scope)) {\n\t\t\tscopesByResourceType[context.resourceId].push(scope);\n\t\t}\n\t}\n\n\tfunction hasScope(\n\t\tscope: Scope | Scope[],\n\t\tcontext?: {\n\t\t\tresourceType?: Resource;\n\t\t\tresourceId?: string;\n\t\t\tprojectId?: string;\n\t\t},\n\t\toptions?: ScopeOptions,\n\t): boolean {\n\t\treturn genericHasScope(\n\t\t\tscope,\n\t\t\t{\n\t\t\t\tglobal: globalScopes.value,\n\t\t\t\tproject: context?.projectId ? scopesByProjectId.value[context.projectId] : [],\n\t\t\t\tresource:\n\t\t\t\t\tcontext?.resourceType && context?.resourceId\n\t\t\t\t\t\t? scopesByResourceId.value[context.resourceType][context.resourceId]\n\t\t\t\t\t\t: [],\n\t\t\t},\n\t\t\tundefined,\n\t\t\toptions,\n\t\t);\n\t}\n\n\treturn {\n\t\tglobalRoles,\n\t\trolesByProjectId,\n\t\tglobalScopes,\n\t\tscopesByProjectId,\n\t\tscopesByResourceId,\n\t\taddGlobalRole,\n\t\thasRole,\n\t\taddGlobalScope,\n\t\tsetGlobalScopes,\n\t\taddProjectScope,\n\t\taddResourceScope,\n\t\thasScope,\n\t};\n});\n"],"mappings":";;;;;;;AAQA,MAAa,sCAA2BA,yBAAO,YAAY;CAC1D,MAAM,2BAA0B,EAAE,CAAC;CACnC,MAAM,gCAAiD,EAAE,CAAC;CAE1D,MAAM,4BAA4B,EAAE,CAAC;CACrC,MAAM,iCAAiD,EAAE,CAAC;CAC1D,MAAM,kCAAoE;EACzE,OAAO,EAAE;EACT,aAAa,EAAE;EACf,UAAU,EAAE;EACZ,KAAK,EAAE;EACP,eAAe,EAAE;EACjB,MAAM,EAAE;EACR,YAAY,EAAE;EACd,UAAU,EAAE;EACZ,iBAAiB,EAAE;EACnB,eAAe,EAAE;EACjB,yBAAyB,EAAE;EAC3B,gBAAgB,EAAE;EAClB,SAAS,EAAE;EACX,eAAe,EAAE;EACjB,aAAa,EAAE;EACf,qBAAqB,EAAE;EACvB,WAAW,EAAE;EACb,QAAQ,EAAE;EACV,WAAW,EAAE;EACb,kBAAkB,EAAE;EACpB,MAAM,EAAE;EACR,SAAS,EAAE;EACX,cAAc,EAAE;EAChB,MAAM,EAAE;EACR,MAAM,EAAE;EACR,cAAc,EAAE;EAChB,eAAe,EAAE;EACjB,QAAQ,EAAE;EACV,UAAU,EAAE;EACZ,WAAW,EAAE;EACb,WAAW,EAAE;EACb,SAAS,EAAE;EACX,cAAc,EAAE;EAChB,MAAM,EAAE;EACR,KAAK,EAAE;EACP,WAAW,EAAE;EACb,SAAS,EAAE;EACX,cAAc,EAAE;EAChB,iBAAiB,EAAE;EACnB,QAAQ,EAAE;EACV,eAAe,EAAE;EACjB,oBAAoB,EAAE;EACtB,YAAY,EAAE;EACd,kBAAkB,EAAE;EACpB,iBAAiB,EAAE;EACnB,MAAM,EAAE;EACR,CAAC;CAEF,SAAS,cAAc,MAAY;AAClC,MAAI,CAAC,YAAY,MAAM,SAAS,KAAK,CACpC,aAAY,MAAM,KAAK,KAAK;;CAI9B,SAAS,QAAQ,MAAY;AAC5B,SAAO,YAAY,MAAM,SAAS,KAAK;;CAGxC,SAAS,eAAe,OAAc;AACrC,MAAI,CAAC,aAAa,MAAM,SAAS,MAAM,CACtC,cAAa,MAAM,KAAK,MAAM;;CAIhC,SAAS,gBAAgB,QAAiB;AACzC,eAAa,QAAQ;;CAGtB,SAAS,gBACR,OACA,SAGC;AACD,MAAI,CAAC,kBAAkB,MAAM,QAAQ,WACpC,mBAAkB,MAAM,QAAQ,aAAa,EAAE;AAGhD,MAAI,CAAC,kBAAkB,MAAM,QAAQ,WAAW,SAAS,MAAM,CAC9D,mBAAkB,MAAM,QAAQ,WAAW,KAAK,MAAM;;CAIxD,SAAS,iBACR,OACA,SAIC;EACD,MAAM,uBAAuB,mBAAmB,MAAM,QAAQ;AAC9D,MAAI,CAAC,qBAAqB,QAAQ,YACjC,sBAAqB,QAAQ,cAAc,EAAE;AAG9C,MAAI,CAAC,qBAAqB,QAAQ,YAAY,SAAS,MAAM,CAC5D,sBAAqB,QAAQ,YAAY,KAAK,MAAM;;CAItD,SAAS,SACR,OACA,SAKA,SACU;AACV,yCACC,OACA;GACC,QAAQ,aAAa;GACrB,SAAS,SAAS,YAAY,kBAAkB,MAAM,QAAQ,aAAa,EAAE;GAC7E,UACC,SAAS,gBAAgB,SAAS,aAC/B,mBAAmB,MAAM,QAAQ,cAAc,QAAQ,cACvD,EAAE;GACN,EACD,QACA,QACA;;AAGF,QAAO;EACN;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA"}
1
+ {"version":3,"file":"rbac.store.cjs","names":["STORES"],"sources":["../src/rbac.store.ts"],"sourcesContent":["import type { Role } from '@n8n/api-types';\nimport { hasScope as genericHasScope } from '@n8n/permissions';\nimport type { ScopeOptions, Scope, Resource } from '@n8n/permissions';\nimport { defineStore } from 'pinia';\nimport { ref } from 'vue';\n\nimport { STORES } from './constants';\n\nexport const useRBACStore = defineStore(STORES.RBAC, () => {\n\tconst globalRoles = ref<Role[]>([]);\n\tconst rolesByProjectId = ref<Record<string, string[]>>({});\n\n\tconst globalScopes = ref<Scope[]>([]);\n\tconst scopesByProjectId = ref<Record<string, Scope[]>>({});\n\tconst scopesByResourceId = ref<Record<Resource, Record<string, Scope[]>>>({\n\t\tagent: {},\n\t\taiAssistant: {},\n\t\tworkflow: {},\n\t\ttag: {},\n\t\tannotationTag: {},\n\t\tuser: {},\n\t\tcredential: {},\n\t\tvariable: {},\n\t\tprojectVariable: {},\n\t\tsourceControl: {},\n\t\tgitConnection: {},\n\t\texternalSecretsProvider: {},\n\t\texternalSecret: {},\n\t\tproject: {},\n\t\torchestration: {},\n\t\tworkersView: {},\n\t\teventBusDestination: {},\n\t\tauditLogs: {},\n\t\tbanner: {},\n\t\tcommunity: {},\n\t\tcommunityPackage: {},\n\t\tldap: {},\n\t\tlicense: {},\n\t\tlogStreaming: {},\n\t\tsaml: {},\n\t\toidc: {},\n\t\tprovisioning: {},\n\t\tsecurityAudit: {},\n\t\tfolder: {},\n\t\tinsights: {},\n\t\tdataTable: {},\n\t\texecution: {},\n\t\ttestRun: {},\n\t\tworkflowTags: {},\n\t\trole: {},\n\t\tmcp: {},\n\t\tmcpApiKey: {},\n\t\tchatHub: {},\n\t\tchatHubAgent: {},\n\t\tbreakingChanges: {},\n\t\tapiKey: {},\n\t\tencryptionKey: {},\n\t\tcredentialResolver: {},\n\t\tinstanceAi: {},\n\t\tsecuritySettings: {},\n\t\troleMappingRule: {},\n\t\totel: {},\n\t});\n\n\tfunction addGlobalRole(role: Role) {\n\t\tif (!globalRoles.value.includes(role)) {\n\t\t\tglobalRoles.value.push(role);\n\t\t}\n\t}\n\n\tfunction hasRole(role: Role) {\n\t\treturn globalRoles.value.includes(role);\n\t}\n\n\tfunction addGlobalScope(scope: Scope) {\n\t\tif (!globalScopes.value.includes(scope)) {\n\t\t\tglobalScopes.value.push(scope);\n\t\t}\n\t}\n\n\tfunction setGlobalScopes(scopes: Scope[]) {\n\t\tglobalScopes.value = scopes;\n\t}\n\n\tfunction addProjectScope(\n\t\tscope: Scope,\n\t\tcontext: {\n\t\t\tprojectId: string;\n\t\t},\n\t) {\n\t\tif (!scopesByProjectId.value[context.projectId]) {\n\t\t\tscopesByProjectId.value[context.projectId] = [];\n\t\t}\n\n\t\tif (!scopesByProjectId.value[context.projectId].includes(scope)) {\n\t\t\tscopesByProjectId.value[context.projectId].push(scope);\n\t\t}\n\t}\n\n\tfunction addResourceScope(\n\t\tscope: Scope,\n\t\tcontext: {\n\t\t\tresourceType: Resource;\n\t\t\tresourceId: string;\n\t\t},\n\t) {\n\t\tconst scopesByResourceType = scopesByResourceId.value[context.resourceType];\n\t\tif (!scopesByResourceType[context.resourceId]) {\n\t\t\tscopesByResourceType[context.resourceId] = [];\n\t\t}\n\n\t\tif (!scopesByResourceType[context.resourceId].includes(scope)) {\n\t\t\tscopesByResourceType[context.resourceId].push(scope);\n\t\t}\n\t}\n\n\tfunction hasScope(\n\t\tscope: Scope | Scope[],\n\t\tcontext?: {\n\t\t\tresourceType?: Resource;\n\t\t\tresourceId?: string;\n\t\t\tprojectId?: string;\n\t\t},\n\t\toptions?: ScopeOptions,\n\t): boolean {\n\t\treturn genericHasScope(\n\t\t\tscope,\n\t\t\t{\n\t\t\t\tglobal: globalScopes.value,\n\t\t\t\tproject: context?.projectId ? scopesByProjectId.value[context.projectId] : [],\n\t\t\t\tresource:\n\t\t\t\t\tcontext?.resourceType && context?.resourceId\n\t\t\t\t\t\t? scopesByResourceId.value[context.resourceType][context.resourceId]\n\t\t\t\t\t\t: [],\n\t\t\t},\n\t\t\tundefined,\n\t\t\toptions,\n\t\t);\n\t}\n\n\treturn {\n\t\tglobalRoles,\n\t\trolesByProjectId,\n\t\tglobalScopes,\n\t\tscopesByProjectId,\n\t\tscopesByResourceId,\n\t\taddGlobalRole,\n\t\thasRole,\n\t\taddGlobalScope,\n\t\tsetGlobalScopes,\n\t\taddProjectScope,\n\t\taddResourceScope,\n\t\thasScope,\n\t};\n});\n"],"mappings":";;;;;;;AAQA,MAAa,sCAA2BA,yBAAO,YAAY;CAC1D,MAAM,2BAA0B,EAAE,CAAC;CACnC,MAAM,gCAAiD,EAAE,CAAC;CAE1D,MAAM,4BAA4B,EAAE,CAAC;CACrC,MAAM,iCAAiD,EAAE,CAAC;CAC1D,MAAM,kCAAoE;EACzE,OAAO,EAAE;EACT,aAAa,EAAE;EACf,UAAU,EAAE;EACZ,KAAK,EAAE;EACP,eAAe,EAAE;EACjB,MAAM,EAAE;EACR,YAAY,EAAE;EACd,UAAU,EAAE;EACZ,iBAAiB,EAAE;EACnB,eAAe,EAAE;EACjB,eAAe,EAAE;EACjB,yBAAyB,EAAE;EAC3B,gBAAgB,EAAE;EAClB,SAAS,EAAE;EACX,eAAe,EAAE;EACjB,aAAa,EAAE;EACf,qBAAqB,EAAE;EACvB,WAAW,EAAE;EACb,QAAQ,EAAE;EACV,WAAW,EAAE;EACb,kBAAkB,EAAE;EACpB,MAAM,EAAE;EACR,SAAS,EAAE;EACX,cAAc,EAAE;EAChB,MAAM,EAAE;EACR,MAAM,EAAE;EACR,cAAc,EAAE;EAChB,eAAe,EAAE;EACjB,QAAQ,EAAE;EACV,UAAU,EAAE;EACZ,WAAW,EAAE;EACb,WAAW,EAAE;EACb,SAAS,EAAE;EACX,cAAc,EAAE;EAChB,MAAM,EAAE;EACR,KAAK,EAAE;EACP,WAAW,EAAE;EACb,SAAS,EAAE;EACX,cAAc,EAAE;EAChB,iBAAiB,EAAE;EACnB,QAAQ,EAAE;EACV,eAAe,EAAE;EACjB,oBAAoB,EAAE;EACtB,YAAY,EAAE;EACd,kBAAkB,EAAE;EACpB,iBAAiB,EAAE;EACnB,MAAM,EAAE;EACR,CAAC;CAEF,SAAS,cAAc,MAAY;AAClC,MAAI,CAAC,YAAY,MAAM,SAAS,KAAK,CACpC,aAAY,MAAM,KAAK,KAAK;;CAI9B,SAAS,QAAQ,MAAY;AAC5B,SAAO,YAAY,MAAM,SAAS,KAAK;;CAGxC,SAAS,eAAe,OAAc;AACrC,MAAI,CAAC,aAAa,MAAM,SAAS,MAAM,CACtC,cAAa,MAAM,KAAK,MAAM;;CAIhC,SAAS,gBAAgB,QAAiB;AACzC,eAAa,QAAQ;;CAGtB,SAAS,gBACR,OACA,SAGC;AACD,MAAI,CAAC,kBAAkB,MAAM,QAAQ,WACpC,mBAAkB,MAAM,QAAQ,aAAa,EAAE;AAGhD,MAAI,CAAC,kBAAkB,MAAM,QAAQ,WAAW,SAAS,MAAM,CAC9D,mBAAkB,MAAM,QAAQ,WAAW,KAAK,MAAM;;CAIxD,SAAS,iBACR,OACA,SAIC;EACD,MAAM,uBAAuB,mBAAmB,MAAM,QAAQ;AAC9D,MAAI,CAAC,qBAAqB,QAAQ,YACjC,sBAAqB,QAAQ,cAAc,EAAE;AAG9C,MAAI,CAAC,qBAAqB,QAAQ,YAAY,SAAS,MAAM,CAC5D,sBAAqB,QAAQ,YAAY,KAAK,MAAM;;CAItD,SAAS,SACR,OACA,SAKA,SACU;AACV,yCACC,OACA;GACC,QAAQ,aAAa;GACrB,SAAS,SAAS,YAAY,kBAAkB,MAAM,QAAQ,aAAa,EAAE;GAC7E,UACC,SAAS,gBAAgB,SAAS,aAC/B,mBAAmB,MAAM,QAAQ,cAAc,QAAQ,cACvD,EAAE;GACN,EACD,QACA,QACA;;AAGF,QAAO;EACN;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA"}
@@ -1,108 +1,110 @@
1
- import * as vue80 from "vue";
2
- import * as pinia2 from "pinia";
1
+ import * as vue419 from "vue";
2
+ import * as pinia6 from "pinia";
3
3
  import { Role } from "@n8n/api-types";
4
4
  import { Resource, Scope, ScopeOptions } from "@n8n/permissions";
5
5
 
6
6
  //#region src/rbac.store.d.ts
7
- declare const useRBACStore: pinia2.StoreDefinition<"rbac", Pick<{
8
- globalRoles: vue80.Ref<Role[], Role[]>;
9
- rolesByProjectId: vue80.Ref<Record<string, string[]>, Record<string, string[]>>;
10
- globalScopes: vue80.Ref<Scope[], Scope[]>;
11
- scopesByProjectId: vue80.Ref<Record<string, Scope[]>, Record<string, Scope[]>>;
12
- scopesByResourceId: vue80.Ref<{
7
+ declare const useRBACStore: pinia6.StoreDefinition<"rbac", Pick<{
8
+ globalRoles: vue419.Ref<Role[], Role[]>;
9
+ rolesByProjectId: vue419.Ref<Record<string, string[]>, Record<string, string[]>>;
10
+ globalScopes: vue419.Ref<Scope[], Scope[]>;
11
+ scopesByProjectId: vue419.Ref<Record<string, Scope[]>, Record<string, Scope[]>>;
12
+ scopesByResourceId: vue419.Ref<{
13
13
  chatHub: Record<string, Scope[]>;
14
- agent: Record<string, Scope[]>;
14
+ logStreaming: Record<string, Scope[]>;
15
15
  aiAssistant: Record<string, Scope[]>;
16
- annotationTag: Record<string, Scope[]>;
16
+ license: Record<string, Scope[]>;
17
+ ldap: Record<string, Scope[]>;
18
+ saml: Record<string, Scope[]>;
19
+ oidc: Record<string, Scope[]>;
20
+ sourceControl: Record<string, Scope[]>;
17
21
  auditLogs: Record<string, Scope[]>;
18
- banner: Record<string, Scope[]>;
22
+ provisioning: Record<string, Scope[]>;
19
23
  community: Record<string, Scope[]>;
20
- communityPackage: Record<string, Scope[]>;
24
+ insights: Record<string, Scope[]>;
25
+ mcp: Record<string, Scope[]>;
26
+ otel: Record<string, Scope[]>;
27
+ role: Record<string, Scope[]>;
28
+ apiKey: Record<string, Scope[]>;
29
+ project: Record<string, Scope[]>;
21
30
  credential: Record<string, Scope[]>;
31
+ workflow: Record<string, Scope[]>;
32
+ agent: Record<string, Scope[]>;
33
+ annotationTag: Record<string, Scope[]>;
34
+ banner: Record<string, Scope[]>;
35
+ communityPackage: Record<string, Scope[]>;
22
36
  externalSecretsProvider: Record<string, Scope[]>;
23
37
  externalSecret: Record<string, Scope[]>;
24
38
  eventBusDestination: Record<string, Scope[]>;
25
- ldap: Record<string, Scope[]>;
26
- license: Record<string, Scope[]>;
27
- logStreaming: Record<string, Scope[]>;
28
39
  orchestration: Record<string, Scope[]>;
29
- project: Record<string, Scope[]>;
30
- saml: Record<string, Scope[]>;
31
40
  securityAudit: Record<string, Scope[]>;
32
41
  securitySettings: Record<string, Scope[]>;
33
- sourceControl: Record<string, Scope[]>;
42
+ gitConnection: Record<string, Scope[]>;
34
43
  tag: Record<string, Scope[]>;
35
44
  user: Record<string, Scope[]>;
36
45
  variable: Record<string, Scope[]>;
37
46
  projectVariable: Record<string, Scope[]>;
38
47
  workersView: Record<string, Scope[]>;
39
- workflow: Record<string, Scope[]>;
40
48
  folder: Record<string, Scope[]>;
41
- insights: Record<string, Scope[]>;
42
- oidc: Record<string, Scope[]>;
43
- provisioning: Record<string, Scope[]>;
44
49
  dataTable: Record<string, Scope[]>;
45
50
  execution: Record<string, Scope[]>;
46
51
  testRun: Record<string, Scope[]>;
47
52
  workflowTags: Record<string, Scope[]>;
48
- role: Record<string, Scope[]>;
49
- mcp: Record<string, Scope[]>;
50
53
  mcpApiKey: Record<string, Scope[]>;
51
54
  chatHubAgent: Record<string, Scope[]>;
52
55
  breakingChanges: Record<string, Scope[]>;
53
- apiKey: Record<string, Scope[]>;
54
56
  encryptionKey: Record<string, Scope[]>;
55
57
  credentialResolver: Record<string, Scope[]>;
56
58
  instanceAi: Record<string, Scope[]>;
57
59
  roleMappingRule: Record<string, Scope[]>;
58
- otel: Record<string, Scope[]>;
59
- }, Record<"chatHub" | "agent" | "aiAssistant" | "annotationTag" | "auditLogs" | "banner" | "community" | "communityPackage" | "credential" | "externalSecretsProvider" | "externalSecret" | "eventBusDestination" | "ldap" | "license" | "logStreaming" | "orchestration" | "project" | "saml" | "securityAudit" | "securitySettings" | "sourceControl" | "tag" | "user" | "variable" | "projectVariable" | "workersView" | "workflow" | "folder" | "insights" | "oidc" | "provisioning" | "dataTable" | "execution" | "testRun" | "workflowTags" | "role" | "mcp" | "mcpApiKey" | "chatHubAgent" | "breakingChanges" | "apiKey" | "encryptionKey" | "credentialResolver" | "instanceAi" | "roleMappingRule" | "otel", Record<string, Scope[]>> | {
60
+ }, Record<"chatHub" | "logStreaming" | "aiAssistant" | "license" | "ldap" | "saml" | "oidc" | "sourceControl" | "auditLogs" | "provisioning" | "community" | "insights" | "mcp" | "otel" | "role" | "apiKey" | "project" | "credential" | "workflow" | "agent" | "annotationTag" | "banner" | "communityPackage" | "externalSecretsProvider" | "externalSecret" | "eventBusDestination" | "orchestration" | "securityAudit" | "securitySettings" | "gitConnection" | "tag" | "user" | "variable" | "projectVariable" | "workersView" | "folder" | "dataTable" | "execution" | "testRun" | "workflowTags" | "mcpApiKey" | "chatHubAgent" | "breakingChanges" | "encryptionKey" | "credentialResolver" | "instanceAi" | "roleMappingRule", Record<string, Scope[]>> | {
60
61
  chatHub: Record<string, Scope[]>;
61
- agent: Record<string, Scope[]>;
62
+ logStreaming: Record<string, Scope[]>;
62
63
  aiAssistant: Record<string, Scope[]>;
63
- annotationTag: Record<string, Scope[]>;
64
+ license: Record<string, Scope[]>;
65
+ ldap: Record<string, Scope[]>;
66
+ saml: Record<string, Scope[]>;
67
+ oidc: Record<string, Scope[]>;
68
+ sourceControl: Record<string, Scope[]>;
64
69
  auditLogs: Record<string, Scope[]>;
65
- banner: Record<string, Scope[]>;
70
+ provisioning: Record<string, Scope[]>;
66
71
  community: Record<string, Scope[]>;
67
- communityPackage: Record<string, Scope[]>;
72
+ insights: Record<string, Scope[]>;
73
+ mcp: Record<string, Scope[]>;
74
+ otel: Record<string, Scope[]>;
75
+ role: Record<string, Scope[]>;
76
+ apiKey: Record<string, Scope[]>;
77
+ project: Record<string, Scope[]>;
68
78
  credential: Record<string, Scope[]>;
79
+ workflow: Record<string, Scope[]>;
80
+ agent: Record<string, Scope[]>;
81
+ annotationTag: Record<string, Scope[]>;
82
+ banner: Record<string, Scope[]>;
83
+ communityPackage: Record<string, Scope[]>;
69
84
  externalSecretsProvider: Record<string, Scope[]>;
70
85
  externalSecret: Record<string, Scope[]>;
71
86
  eventBusDestination: Record<string, Scope[]>;
72
- ldap: Record<string, Scope[]>;
73
- license: Record<string, Scope[]>;
74
- logStreaming: Record<string, Scope[]>;
75
87
  orchestration: Record<string, Scope[]>;
76
- project: Record<string, Scope[]>;
77
- saml: Record<string, Scope[]>;
78
88
  securityAudit: Record<string, Scope[]>;
79
89
  securitySettings: Record<string, Scope[]>;
80
- sourceControl: Record<string, Scope[]>;
90
+ gitConnection: Record<string, Scope[]>;
81
91
  tag: Record<string, Scope[]>;
82
92
  user: Record<string, Scope[]>;
83
93
  variable: Record<string, Scope[]>;
84
94
  projectVariable: Record<string, Scope[]>;
85
95
  workersView: Record<string, Scope[]>;
86
- workflow: Record<string, Scope[]>;
87
96
  folder: Record<string, Scope[]>;
88
- insights: Record<string, Scope[]>;
89
- oidc: Record<string, Scope[]>;
90
- provisioning: Record<string, Scope[]>;
91
97
  dataTable: Record<string, Scope[]>;
92
98
  execution: Record<string, Scope[]>;
93
99
  testRun: Record<string, Scope[]>;
94
100
  workflowTags: Record<string, Scope[]>;
95
- role: Record<string, Scope[]>;
96
- mcp: Record<string, Scope[]>;
97
101
  mcpApiKey: Record<string, Scope[]>;
98
102
  chatHubAgent: Record<string, Scope[]>;
99
103
  breakingChanges: Record<string, Scope[]>;
100
- apiKey: Record<string, Scope[]>;
101
104
  encryptionKey: Record<string, Scope[]>;
102
105
  credentialResolver: Record<string, Scope[]>;
103
106
  instanceAi: Record<string, Scope[]>;
104
107
  roleMappingRule: Record<string, Scope[]>;
105
- otel: Record<string, Scope[]>;
106
108
  }>;
107
109
  addGlobalRole: (role: Role) => void;
108
110
  hasRole: (role: Role) => boolean;
@@ -121,104 +123,106 @@ declare const useRBACStore: pinia2.StoreDefinition<"rbac", Pick<{
121
123
  projectId?: string;
122
124
  }, options?: ScopeOptions) => boolean;
123
125
  }, "globalRoles" | "rolesByProjectId" | "globalScopes" | "scopesByProjectId" | "scopesByResourceId">, Pick<{
124
- globalRoles: vue80.Ref<Role[], Role[]>;
125
- rolesByProjectId: vue80.Ref<Record<string, string[]>, Record<string, string[]>>;
126
- globalScopes: vue80.Ref<Scope[], Scope[]>;
127
- scopesByProjectId: vue80.Ref<Record<string, Scope[]>, Record<string, Scope[]>>;
128
- scopesByResourceId: vue80.Ref<{
126
+ globalRoles: vue419.Ref<Role[], Role[]>;
127
+ rolesByProjectId: vue419.Ref<Record<string, string[]>, Record<string, string[]>>;
128
+ globalScopes: vue419.Ref<Scope[], Scope[]>;
129
+ scopesByProjectId: vue419.Ref<Record<string, Scope[]>, Record<string, Scope[]>>;
130
+ scopesByResourceId: vue419.Ref<{
129
131
  chatHub: Record<string, Scope[]>;
130
- agent: Record<string, Scope[]>;
132
+ logStreaming: Record<string, Scope[]>;
131
133
  aiAssistant: Record<string, Scope[]>;
132
- annotationTag: Record<string, Scope[]>;
134
+ license: Record<string, Scope[]>;
135
+ ldap: Record<string, Scope[]>;
136
+ saml: Record<string, Scope[]>;
137
+ oidc: Record<string, Scope[]>;
138
+ sourceControl: Record<string, Scope[]>;
133
139
  auditLogs: Record<string, Scope[]>;
134
- banner: Record<string, Scope[]>;
140
+ provisioning: Record<string, Scope[]>;
135
141
  community: Record<string, Scope[]>;
136
- communityPackage: Record<string, Scope[]>;
142
+ insights: Record<string, Scope[]>;
143
+ mcp: Record<string, Scope[]>;
144
+ otel: Record<string, Scope[]>;
145
+ role: Record<string, Scope[]>;
146
+ apiKey: Record<string, Scope[]>;
147
+ project: Record<string, Scope[]>;
137
148
  credential: Record<string, Scope[]>;
149
+ workflow: Record<string, Scope[]>;
150
+ agent: Record<string, Scope[]>;
151
+ annotationTag: Record<string, Scope[]>;
152
+ banner: Record<string, Scope[]>;
153
+ communityPackage: Record<string, Scope[]>;
138
154
  externalSecretsProvider: Record<string, Scope[]>;
139
155
  externalSecret: Record<string, Scope[]>;
140
156
  eventBusDestination: Record<string, Scope[]>;
141
- ldap: Record<string, Scope[]>;
142
- license: Record<string, Scope[]>;
143
- logStreaming: Record<string, Scope[]>;
144
157
  orchestration: Record<string, Scope[]>;
145
- project: Record<string, Scope[]>;
146
- saml: Record<string, Scope[]>;
147
158
  securityAudit: Record<string, Scope[]>;
148
159
  securitySettings: Record<string, Scope[]>;
149
- sourceControl: Record<string, Scope[]>;
160
+ gitConnection: Record<string, Scope[]>;
150
161
  tag: Record<string, Scope[]>;
151
162
  user: Record<string, Scope[]>;
152
163
  variable: Record<string, Scope[]>;
153
164
  projectVariable: Record<string, Scope[]>;
154
165
  workersView: Record<string, Scope[]>;
155
- workflow: Record<string, Scope[]>;
156
166
  folder: Record<string, Scope[]>;
157
- insights: Record<string, Scope[]>;
158
- oidc: Record<string, Scope[]>;
159
- provisioning: Record<string, Scope[]>;
160
167
  dataTable: Record<string, Scope[]>;
161
168
  execution: Record<string, Scope[]>;
162
169
  testRun: Record<string, Scope[]>;
163
170
  workflowTags: Record<string, Scope[]>;
164
- role: Record<string, Scope[]>;
165
- mcp: Record<string, Scope[]>;
166
171
  mcpApiKey: Record<string, Scope[]>;
167
172
  chatHubAgent: Record<string, Scope[]>;
168
173
  breakingChanges: Record<string, Scope[]>;
169
- apiKey: Record<string, Scope[]>;
170
174
  encryptionKey: Record<string, Scope[]>;
171
175
  credentialResolver: Record<string, Scope[]>;
172
176
  instanceAi: Record<string, Scope[]>;
173
177
  roleMappingRule: Record<string, Scope[]>;
174
- otel: Record<string, Scope[]>;
175
- }, Record<"chatHub" | "agent" | "aiAssistant" | "annotationTag" | "auditLogs" | "banner" | "community" | "communityPackage" | "credential" | "externalSecretsProvider" | "externalSecret" | "eventBusDestination" | "ldap" | "license" | "logStreaming" | "orchestration" | "project" | "saml" | "securityAudit" | "securitySettings" | "sourceControl" | "tag" | "user" | "variable" | "projectVariable" | "workersView" | "workflow" | "folder" | "insights" | "oidc" | "provisioning" | "dataTable" | "execution" | "testRun" | "workflowTags" | "role" | "mcp" | "mcpApiKey" | "chatHubAgent" | "breakingChanges" | "apiKey" | "encryptionKey" | "credentialResolver" | "instanceAi" | "roleMappingRule" | "otel", Record<string, Scope[]>> | {
178
+ }, Record<"chatHub" | "logStreaming" | "aiAssistant" | "license" | "ldap" | "saml" | "oidc" | "sourceControl" | "auditLogs" | "provisioning" | "community" | "insights" | "mcp" | "otel" | "role" | "apiKey" | "project" | "credential" | "workflow" | "agent" | "annotationTag" | "banner" | "communityPackage" | "externalSecretsProvider" | "externalSecret" | "eventBusDestination" | "orchestration" | "securityAudit" | "securitySettings" | "gitConnection" | "tag" | "user" | "variable" | "projectVariable" | "workersView" | "folder" | "dataTable" | "execution" | "testRun" | "workflowTags" | "mcpApiKey" | "chatHubAgent" | "breakingChanges" | "encryptionKey" | "credentialResolver" | "instanceAi" | "roleMappingRule", Record<string, Scope[]>> | {
176
179
  chatHub: Record<string, Scope[]>;
177
- agent: Record<string, Scope[]>;
180
+ logStreaming: Record<string, Scope[]>;
178
181
  aiAssistant: Record<string, Scope[]>;
179
- annotationTag: Record<string, Scope[]>;
182
+ license: Record<string, Scope[]>;
183
+ ldap: Record<string, Scope[]>;
184
+ saml: Record<string, Scope[]>;
185
+ oidc: Record<string, Scope[]>;
186
+ sourceControl: Record<string, Scope[]>;
180
187
  auditLogs: Record<string, Scope[]>;
181
- banner: Record<string, Scope[]>;
188
+ provisioning: Record<string, Scope[]>;
182
189
  community: Record<string, Scope[]>;
183
- communityPackage: Record<string, Scope[]>;
190
+ insights: Record<string, Scope[]>;
191
+ mcp: Record<string, Scope[]>;
192
+ otel: Record<string, Scope[]>;
193
+ role: Record<string, Scope[]>;
194
+ apiKey: Record<string, Scope[]>;
195
+ project: Record<string, Scope[]>;
184
196
  credential: Record<string, Scope[]>;
197
+ workflow: Record<string, Scope[]>;
198
+ agent: Record<string, Scope[]>;
199
+ annotationTag: Record<string, Scope[]>;
200
+ banner: Record<string, Scope[]>;
201
+ communityPackage: Record<string, Scope[]>;
185
202
  externalSecretsProvider: Record<string, Scope[]>;
186
203
  externalSecret: Record<string, Scope[]>;
187
204
  eventBusDestination: Record<string, Scope[]>;
188
- ldap: Record<string, Scope[]>;
189
- license: Record<string, Scope[]>;
190
- logStreaming: Record<string, Scope[]>;
191
205
  orchestration: Record<string, Scope[]>;
192
- project: Record<string, Scope[]>;
193
- saml: Record<string, Scope[]>;
194
206
  securityAudit: Record<string, Scope[]>;
195
207
  securitySettings: Record<string, Scope[]>;
196
- sourceControl: Record<string, Scope[]>;
208
+ gitConnection: Record<string, Scope[]>;
197
209
  tag: Record<string, Scope[]>;
198
210
  user: Record<string, Scope[]>;
199
211
  variable: Record<string, Scope[]>;
200
212
  projectVariable: Record<string, Scope[]>;
201
213
  workersView: Record<string, Scope[]>;
202
- workflow: Record<string, Scope[]>;
203
214
  folder: Record<string, Scope[]>;
204
- insights: Record<string, Scope[]>;
205
- oidc: Record<string, Scope[]>;
206
- provisioning: Record<string, Scope[]>;
207
215
  dataTable: Record<string, Scope[]>;
208
216
  execution: Record<string, Scope[]>;
209
217
  testRun: Record<string, Scope[]>;
210
218
  workflowTags: Record<string, Scope[]>;
211
- role: Record<string, Scope[]>;
212
- mcp: Record<string, Scope[]>;
213
219
  mcpApiKey: Record<string, Scope[]>;
214
220
  chatHubAgent: Record<string, Scope[]>;
215
221
  breakingChanges: Record<string, Scope[]>;
216
- apiKey: Record<string, Scope[]>;
217
222
  encryptionKey: Record<string, Scope[]>;
218
223
  credentialResolver: Record<string, Scope[]>;
219
224
  instanceAi: Record<string, Scope[]>;
220
225
  roleMappingRule: Record<string, Scope[]>;
221
- otel: Record<string, Scope[]>;
222
226
  }>;
223
227
  addGlobalRole: (role: Role) => void;
224
228
  hasRole: (role: Role) => boolean;
@@ -237,104 +241,106 @@ declare const useRBACStore: pinia2.StoreDefinition<"rbac", Pick<{
237
241
  projectId?: string;
238
242
  }, options?: ScopeOptions) => boolean;
239
243
  }, never>, Pick<{
240
- globalRoles: vue80.Ref<Role[], Role[]>;
241
- rolesByProjectId: vue80.Ref<Record<string, string[]>, Record<string, string[]>>;
242
- globalScopes: vue80.Ref<Scope[], Scope[]>;
243
- scopesByProjectId: vue80.Ref<Record<string, Scope[]>, Record<string, Scope[]>>;
244
- scopesByResourceId: vue80.Ref<{
244
+ globalRoles: vue419.Ref<Role[], Role[]>;
245
+ rolesByProjectId: vue419.Ref<Record<string, string[]>, Record<string, string[]>>;
246
+ globalScopes: vue419.Ref<Scope[], Scope[]>;
247
+ scopesByProjectId: vue419.Ref<Record<string, Scope[]>, Record<string, Scope[]>>;
248
+ scopesByResourceId: vue419.Ref<{
245
249
  chatHub: Record<string, Scope[]>;
246
- agent: Record<string, Scope[]>;
250
+ logStreaming: Record<string, Scope[]>;
247
251
  aiAssistant: Record<string, Scope[]>;
248
- annotationTag: Record<string, Scope[]>;
252
+ license: Record<string, Scope[]>;
253
+ ldap: Record<string, Scope[]>;
254
+ saml: Record<string, Scope[]>;
255
+ oidc: Record<string, Scope[]>;
256
+ sourceControl: Record<string, Scope[]>;
249
257
  auditLogs: Record<string, Scope[]>;
250
- banner: Record<string, Scope[]>;
258
+ provisioning: Record<string, Scope[]>;
251
259
  community: Record<string, Scope[]>;
252
- communityPackage: Record<string, Scope[]>;
260
+ insights: Record<string, Scope[]>;
261
+ mcp: Record<string, Scope[]>;
262
+ otel: Record<string, Scope[]>;
263
+ role: Record<string, Scope[]>;
264
+ apiKey: Record<string, Scope[]>;
265
+ project: Record<string, Scope[]>;
253
266
  credential: Record<string, Scope[]>;
267
+ workflow: Record<string, Scope[]>;
268
+ agent: Record<string, Scope[]>;
269
+ annotationTag: Record<string, Scope[]>;
270
+ banner: Record<string, Scope[]>;
271
+ communityPackage: Record<string, Scope[]>;
254
272
  externalSecretsProvider: Record<string, Scope[]>;
255
273
  externalSecret: Record<string, Scope[]>;
256
274
  eventBusDestination: Record<string, Scope[]>;
257
- ldap: Record<string, Scope[]>;
258
- license: Record<string, Scope[]>;
259
- logStreaming: Record<string, Scope[]>;
260
275
  orchestration: Record<string, Scope[]>;
261
- project: Record<string, Scope[]>;
262
- saml: Record<string, Scope[]>;
263
276
  securityAudit: Record<string, Scope[]>;
264
277
  securitySettings: Record<string, Scope[]>;
265
- sourceControl: Record<string, Scope[]>;
278
+ gitConnection: Record<string, Scope[]>;
266
279
  tag: Record<string, Scope[]>;
267
280
  user: Record<string, Scope[]>;
268
281
  variable: Record<string, Scope[]>;
269
282
  projectVariable: Record<string, Scope[]>;
270
283
  workersView: Record<string, Scope[]>;
271
- workflow: Record<string, Scope[]>;
272
284
  folder: Record<string, Scope[]>;
273
- insights: Record<string, Scope[]>;
274
- oidc: Record<string, Scope[]>;
275
- provisioning: Record<string, Scope[]>;
276
285
  dataTable: Record<string, Scope[]>;
277
286
  execution: Record<string, Scope[]>;
278
287
  testRun: Record<string, Scope[]>;
279
288
  workflowTags: Record<string, Scope[]>;
280
- role: Record<string, Scope[]>;
281
- mcp: Record<string, Scope[]>;
282
289
  mcpApiKey: Record<string, Scope[]>;
283
290
  chatHubAgent: Record<string, Scope[]>;
284
291
  breakingChanges: Record<string, Scope[]>;
285
- apiKey: Record<string, Scope[]>;
286
292
  encryptionKey: Record<string, Scope[]>;
287
293
  credentialResolver: Record<string, Scope[]>;
288
294
  instanceAi: Record<string, Scope[]>;
289
295
  roleMappingRule: Record<string, Scope[]>;
290
- otel: Record<string, Scope[]>;
291
- }, Record<"chatHub" | "agent" | "aiAssistant" | "annotationTag" | "auditLogs" | "banner" | "community" | "communityPackage" | "credential" | "externalSecretsProvider" | "externalSecret" | "eventBusDestination" | "ldap" | "license" | "logStreaming" | "orchestration" | "project" | "saml" | "securityAudit" | "securitySettings" | "sourceControl" | "tag" | "user" | "variable" | "projectVariable" | "workersView" | "workflow" | "folder" | "insights" | "oidc" | "provisioning" | "dataTable" | "execution" | "testRun" | "workflowTags" | "role" | "mcp" | "mcpApiKey" | "chatHubAgent" | "breakingChanges" | "apiKey" | "encryptionKey" | "credentialResolver" | "instanceAi" | "roleMappingRule" | "otel", Record<string, Scope[]>> | {
296
+ }, Record<"chatHub" | "logStreaming" | "aiAssistant" | "license" | "ldap" | "saml" | "oidc" | "sourceControl" | "auditLogs" | "provisioning" | "community" | "insights" | "mcp" | "otel" | "role" | "apiKey" | "project" | "credential" | "workflow" | "agent" | "annotationTag" | "banner" | "communityPackage" | "externalSecretsProvider" | "externalSecret" | "eventBusDestination" | "orchestration" | "securityAudit" | "securitySettings" | "gitConnection" | "tag" | "user" | "variable" | "projectVariable" | "workersView" | "folder" | "dataTable" | "execution" | "testRun" | "workflowTags" | "mcpApiKey" | "chatHubAgent" | "breakingChanges" | "encryptionKey" | "credentialResolver" | "instanceAi" | "roleMappingRule", Record<string, Scope[]>> | {
292
297
  chatHub: Record<string, Scope[]>;
293
- agent: Record<string, Scope[]>;
298
+ logStreaming: Record<string, Scope[]>;
294
299
  aiAssistant: Record<string, Scope[]>;
295
- annotationTag: Record<string, Scope[]>;
300
+ license: Record<string, Scope[]>;
301
+ ldap: Record<string, Scope[]>;
302
+ saml: Record<string, Scope[]>;
303
+ oidc: Record<string, Scope[]>;
304
+ sourceControl: Record<string, Scope[]>;
296
305
  auditLogs: Record<string, Scope[]>;
297
- banner: Record<string, Scope[]>;
306
+ provisioning: Record<string, Scope[]>;
298
307
  community: Record<string, Scope[]>;
299
- communityPackage: Record<string, Scope[]>;
308
+ insights: Record<string, Scope[]>;
309
+ mcp: Record<string, Scope[]>;
310
+ otel: Record<string, Scope[]>;
311
+ role: Record<string, Scope[]>;
312
+ apiKey: Record<string, Scope[]>;
313
+ project: Record<string, Scope[]>;
300
314
  credential: Record<string, Scope[]>;
315
+ workflow: Record<string, Scope[]>;
316
+ agent: Record<string, Scope[]>;
317
+ annotationTag: Record<string, Scope[]>;
318
+ banner: Record<string, Scope[]>;
319
+ communityPackage: Record<string, Scope[]>;
301
320
  externalSecretsProvider: Record<string, Scope[]>;
302
321
  externalSecret: Record<string, Scope[]>;
303
322
  eventBusDestination: Record<string, Scope[]>;
304
- ldap: Record<string, Scope[]>;
305
- license: Record<string, Scope[]>;
306
- logStreaming: Record<string, Scope[]>;
307
323
  orchestration: Record<string, Scope[]>;
308
- project: Record<string, Scope[]>;
309
- saml: Record<string, Scope[]>;
310
324
  securityAudit: Record<string, Scope[]>;
311
325
  securitySettings: Record<string, Scope[]>;
312
- sourceControl: Record<string, Scope[]>;
326
+ gitConnection: Record<string, Scope[]>;
313
327
  tag: Record<string, Scope[]>;
314
328
  user: Record<string, Scope[]>;
315
329
  variable: Record<string, Scope[]>;
316
330
  projectVariable: Record<string, Scope[]>;
317
331
  workersView: Record<string, Scope[]>;
318
- workflow: Record<string, Scope[]>;
319
332
  folder: Record<string, Scope[]>;
320
- insights: Record<string, Scope[]>;
321
- oidc: Record<string, Scope[]>;
322
- provisioning: Record<string, Scope[]>;
323
333
  dataTable: Record<string, Scope[]>;
324
334
  execution: Record<string, Scope[]>;
325
335
  testRun: Record<string, Scope[]>;
326
336
  workflowTags: Record<string, Scope[]>;
327
- role: Record<string, Scope[]>;
328
- mcp: Record<string, Scope[]>;
329
337
  mcpApiKey: Record<string, Scope[]>;
330
338
  chatHubAgent: Record<string, Scope[]>;
331
339
  breakingChanges: Record<string, Scope[]>;
332
- apiKey: Record<string, Scope[]>;
333
340
  encryptionKey: Record<string, Scope[]>;
334
341
  credentialResolver: Record<string, Scope[]>;
335
342
  instanceAi: Record<string, Scope[]>;
336
343
  roleMappingRule: Record<string, Scope[]>;
337
- otel: Record<string, Scope[]>;
338
344
  }>;
339
345
  addGlobalRole: (role: Role) => void;
340
346
  hasRole: (role: Role) => boolean;