Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

flowctl: normalize --prefix trailing slash - #3035

#3035
Open
telcharr wants to merge 1 commit into
estuary:masterestuary/flow:masterfrom
telcharr:fix/prefix-trailing-slashtelcharr/flow:fix/prefix-trailing-slashCopy head branch name to clipboard
Open

flowctl: normalize --prefix trailing slash#3035
telcharr wants to merge 1 commit into
estuary:masterestuary/flow:masterfrom
telcharr:fix/prefix-trailing-slashtelcharr/flow:fix/prefix-trailing-slashCopy head branch name to clipboard

Conversation

@telcharr

@telcharr telcharr commented Jun 15, 2026

Copy link
Copy Markdown

Description:

flowctl now normalizes a user-supplied --prefix to end with /, which models::Prefix requires. Previously, passing a prefix without a trailing slash was sent to the API verbatim and rejected as an unauthorized name, causing a misleading PermissionDenied error even when the user had full access. Applies across catalog list/pull-specs/delete, raw gazctl-env, and alerts subscriptions.

Workflow steps:

flowctl catalog pull-specs --prefix AcmeCo now behaves the same as --prefix AcmeCo/. The trailing slash is added automatically with a stderr warning noting the change. Prefixes that already end in / are unchanged, so existing usage is unaffected.

Documentation links affected:

None. The CLI --prefix help text already describes prefix semantics, the behavior is just more forgiving now. No difference in contract.

Notes for reviewers:

Closes #2834. Closes #2608

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

Labels

None yet

Projects

None yet

1 participant

Morty Proxy This is a proxified and sanitized view of the page, visit original site.