Skip to content

Conversation

HenryHengZJ
Copy link
Contributor

No description provided.

vinodkiran and others added 11 commits July 20, 2025 17:02
- Added validation to ensure `activeWorkspaceId` is present in user requests for all API key operations (get, create, update, import, delete).
- Updated `getWorkspaceSearchOptions` and `getWorkspaceSearchOptionsFromReq` to throw an error if `workspaceId` is not provided.
- Modified service methods to enforce `workspaceId` as a required parameter for database operations related to API keys.
…aces and services

- Updated various interfaces to make `workspaceId` a mandatory field instead of optional.
- Enhanced assistant and export-import service methods to require `workspaceId` for operations, ensuring proper validation and error handling.
- Modified database entity definitions to reflect the change in `workspaceId` from optional to required.
- Improved error handling in controllers to check for `activeWorkspaceId` before proceeding with requests.
- Updated controllers for credentials, datasets, document stores, evaluations, evaluators, and variables to enforce the presence of `workspaceId`.
- Enhanced error handling to throw appropriate errors when `workspaceId` is not provided.
- Modified service methods to accept `workspaceId` as a mandatory parameter for operations, ensuring consistent validation across the application.
… retrieval

- Modified the runAdditionalEvaluators function to accept workspaceId as a parameter.
- Updated chatflow and flow-config controllers to require workspaceId for fetching chatflows.
- Modified service methods to accept workspaceId as a parameter, ensuring proper context for chatflow retrieval.
@0xi4o 0xi4o self-requested a review September 26, 2025 09:20
@HenryHengZJ HenryHengZJ mentioned this pull request Sep 30, 2025
HenryHengZJ and others added 6 commits October 3, 2025 01:12
- Enhanced permission checks in chatflows routes to include agentflows permissions for create, read, update, and delete operations.
- Updated navigation paths in authentication views to redirect to the home page instead of chatflows after successful login or registration.
@chungyau97
Copy link
Contributor

chungyau97 commented Oct 10, 2025

fix(DefaultRedirect.jsx): add redirect unauthenticated users to login

Description

  • Enterprise:
    Redirect to /organization-setup on first-time setup.
    Redirect to /signin if not logged in.

  • Cloud:
    Redirect to /signin if not logged in.

  • Open-source:
    Redirect to /organization-setup on first-time setup.
    Redirect to /signin if not logged in.

Result

Enterprise Cloud Open-source
image image image image image

@chungyau97
Copy link
Contributor

chungyau97 commented Oct 10, 2025

fix(RequireAuth.jsx): check permissions for routes without display property

Description

Redirect to /unauthorized if the user does not have permission.

Result

Invited user role permissions include only agentflows:view and executions:view.

Enterprise Cloud
image image image image image image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants