Repository navigation
[2.1] Fixes 38699: Never give an approval back to its requester - #38816
Merged
Merged
Conversation
* Fixes #38699: never give an approval back to its requester An approval node removes the requester (the editor whose change started the run) from its assignees. For workflows not managed by a task workflow, an emptied list was given back to the requester under the default "none" empty-assignee strategy. The task is filed by the requester and TaskAuthorPolicy denies a filer ResolveTask, so the only assignee could not approve it and the run never finished. The requester is now never an assignee. An emptied list goes to the node's empty-assignee strategy: none approves automatically, assignAdmins assigns the other admins, wait opens the task unassigned. Tests: SetApprovalAssigneesImplTest flips the case that locked in the give-back and adds the assignAdmins case; WorkflowDefinitionResourceIT covers owners / reviewers / owners+reviewers x none / assignAdmins / wait, both when the editor is the only approver and when someone else can approve. * Correct the self-approval rationale and add the upgrade note * Amend the glossary-proposals record: a sole editor no longer keeps their approval (cherry picked from commit f6b7cf2)
gh-bot-collate
Bot
requested review from
harshach
and removed request for
a team
November 26, 2026 09:25
Author
|
🤖 This backport will not merge itself: |
12 tasks done
manerow
approved these changes
Nov 26, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Automated backport of #38708 to
2.1.f6b7cf2963bdcb1762de2f0e8dc39e7b38aa28a7main.Opened from openmetadata-collate, which holds the credentials needed to open a PR here. It merges itself once this branch's required checks pass — no review needed. If a check fails it stays open and the author of #38708 is asked to look.
resolver run