Skip to content

Revert setOwnersEligibility setMemberEligibility functionality#60556

Merged
smallinsky merged 2 commits intomasterfrom
smallinsky/revert-set_eligibility_on_upsert
Oct 24, 2025
Merged

Revert setOwnersEligibility setMemberEligibility functionality#60556
smallinsky merged 2 commits intomasterfrom
smallinsky/revert-set_eligibility_on_upsert

Conversation

@smallinsky
Copy link
Copy Markdown
Contributor

@smallinsky smallinsky commented Oct 24, 2025

What

Revert #58659 functionality.

The setting default eligibility status on Upsert call intended to reduce Ineligibility cycle after importing large collection from entraID directory.

but this approach is very hard to reason about where the eligibility reconsider expect to reset eligibility to IneligibleStatus_INELIGIBLE_STATUS_UNSPECIFIED that creates potentials bugs https://github.com/gravitational/teleport.e/blob/master/lib/accesslist/service.go#L2454

Related: test coverage https://github.com/gravitational/teleport.e/pull/7464

changelog: Fix an issue where the eligibility reconsideration flow could continuously reset the Owner’s eligibility status when the Access List contains a dangling reference to a non-existent user

@smallinsky smallinsky force-pushed the smallinsky/revert-set_eligibility_on_upsert branch from d867b73 to a8980fd Compare October 24, 2025 12:12
@smallinsky smallinsky force-pushed the smallinsky/revert-set_eligibility_on_upsert branch from a8980fd to 6cf6921 Compare October 24, 2025 12:59
@smallinsky smallinsky marked this pull request as ready for review October 24, 2025 13:04
@smallinsky smallinsky enabled auto-merge October 24, 2025 14:29
@smallinsky smallinsky added this pull request to the merge queue Oct 24, 2025
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Oct 24, 2025
@smallinsky smallinsky added this pull request to the merge queue Oct 24, 2025
Merged via the queue into master with commit f1dec97 Oct 24, 2025
43 of 49 checks passed
@smallinsky smallinsky deleted the smallinsky/revert-set_eligibility_on_upsert branch October 24, 2025 15:07
@backport-bot-workflows
Copy link
Copy Markdown
Contributor

@smallinsky See the table below for backport results.

Branch Result
branch/v17 Failed
branch/v18 Create PR

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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants