Skip to content

[v18] fix: enhance multi-resource editing in tctl edit#58902

Merged
tigrato merged 2 commits intobranch/v18from
bot/backport-58878-branch/v18
Sep 11, 2025
Merged

[v18] fix: enhance multi-resource editing in tctl edit#58902
tigrato merged 2 commits intobranch/v18from
bot/backport-58878-branch/v18

Conversation

@tigrato
Copy link
Copy Markdown
Contributor

@tigrato tigrato commented Sep 8, 2025

Backport #58878 to branch/v18

changelog: Support multiple resource editing in tctl edit when editing collections

This PR enhances tctl edit command to support multiple resources such as
when editing all roles.

`tctl edit roles`

Now, all updated roles are reflected into the backend and not only the
first one.

Signed-off-by: Tiago Silva <tiago.silva@goteleport.com>
@github-actions github-actions bot added backport size/sm tctl tctl - Teleport admin tool labels Sep 8, 2025
@github-actions github-actions bot requested review from avatus and zmb3 September 8, 2025 22:37
@tigrato tigrato added this pull request to the merge queue Sep 9, 2025
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Sep 9, 2025
@tigrato tigrato added this pull request to the merge queue Sep 9, 2025
github-merge-queue bot pushed a commit that referenced this pull request Sep 9, 2025
* fix: enhance multi-resource editing in tctl edit

This PR enhances tctl edit command to support multiple resources such as
when editing all roles.

`tctl edit roles`

Now, all updated roles are reflected into the backend and not only the
first one.

Signed-off-by: Tiago Silva <tiago.silva@goteleport.com>

* add multi int tests

---------

Signed-off-by: Tiago Silva <tiago.silva@goteleport.com>
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Sep 9, 2025
@tigrato tigrato added this pull request to the merge queue Sep 11, 2025
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Sep 11, 2025
@tigrato tigrato added this pull request to the merge queue Sep 11, 2025
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Sep 11, 2025
@tigrato tigrato added this pull request to the merge queue Sep 11, 2025
Merged via the queue into branch/v18 with commit 5ab838b Sep 11, 2025
44 of 45 checks passed
@tigrato tigrato deleted the bot/backport-58878-branch/v18 branch September 11, 2025 15:56
@doggydogworld doggydogworld mentioned this pull request Sep 12, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backport size/sm tctl tctl - Teleport admin tool

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants