Skip to content

BUG-18: apply-test-identities --remove-old-groups runs on an unproven new set #120

Closed

Description

@ephico2real2

Part of #110

Related: #94

What is wrong: rc 0 with a real person in a new group and a test user missing.

Where: examples/cmapi-sso/ldap/apply-test-identities.sh, on PR #112 at be66382. The file exists at be66382 (checked with git show). The issue gives no line.

How to prove it: ldap-identities-test.sh failures on a real OpenLDAP. The test is deploy/tests/ldap-identities-test.sh failures, which commit 5623dca extends.

Measured or inferred: Reviewer 2 reproduced it with ldap-identities-test.sh failures on a real OpenLDAP. The status when filed: found and reproduced by reviewer 2; proposed fix 07 in docs/reviews/2026-11-06-pr112/reviewer-2-proposed/, not validated by the coordinator. Nothing has run on the real LDAP.

Severity: Medium. The option can delete the old groups while the new set is incorrect.

What must hold after the fix: --remove-old-groups deletes the old groups only when the new set is what the script writes.

Research: The mandate when filed: search the primary sources, compare the options, choose the industry best practice, fix the cause rather than the symptom, and record the choice and its sources. This issue holds no research record. The review record is docs/reviews/2026-11-06-pr112/README.md.

Solution: Commit 5623dca ("The old groups stay until the new set is what the script writes") on branch ldap-rbac-names, in draft PR #112. It is not merged.

Class: INV. The defect is in new INV work (#110) that is not merged, so its fix is part of that work.

Activity

  1. added a commit that references this issue on Nov 7, 2026
    5623dca
  2. added
    In-Progress
    bug
    class:INV
    on Nov 13, 2026
  3. changed the title [-]apply-test-identities --remove-old-groups runs on an unproven new set[/-] [+]BUG-18: apply-test-identities --remove-old-groups runs on an unproven new set[/+] on Nov 13, 2026
  4. added
    sev:medium
    status:open
    on Nov 13, 2026
  5. ephico2real2 commented on Nov 13, 2026

    @ephico2real2
    OwnerAuthor

    Work tag: In-Progress. Draft PR #112 (branch ldap-rbac-names, head ecc5cb3) closes this issue. The fix is commit 5623dca on that branch. The pull request is not merged, and the branch is not the default branch. Read from gh and git at 2026-11-13T09:18Z.

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    In-Progressbugclass:INVsev:mediumstatus:open

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions