Repository navigation
Description
Part of #14
Related: #94
Why
The owner's decision, 2026-11-06: cmapi's LDAP groups are named app-cmapi-rbac-<role>, and a dedicated GroupSync can come later if needed. The name must settle before the one-shot realm import.
What is wrong: today's ten cmapi-* groups do not say which role each grants (cmapi-qa-leads is an approver), they borrow real people as example members, and the realm reads all 11 real people in ou=People.
The change
- Ten groups:
app-cmapi-rbac-plusviewer,onboarding,requester,approver-prod,approver-qa,approver-uat,approver-platform,operator,admin,auditor. No consumer filter matches this prefix (GroupSyncapp-ocp-rbac-*andbda-rbac-*, realmcorpapp-ocp-rbac-ocp-*), read on CRC 2026-11-06. - 13 test users
cmapi.<role>, outside theapp-ssb-autobahnusersgate, so OpenShift's LDAP login andcorpcannot see them. Passwords only as hashes in LDAP and in Secretcmapi-ldap-test-users. - CRC's realm reads only
(uid=cmapi.*). - The ten old
cmapi-*groups removed by exact name on the CRC run.
Acceptance criteria
- Each test user's token groups and roles match the table, on real Keycloak with an LDAP stand-in, shown by
deploy/tests/realm-test.py - The same holds on CRC at the run, shown by
deploy/crc-proof.shon CRC, which signs in each test user -
cmapi.noaccessgets 403, shown bydeploy/crc-proof.shon CRC - A hash of every other LDAP entry is unchanged, shown by
deploy/tests/ldap-identities-test.sh
Tasks
- The group names and
identity.groupPath(commit83d9a60). -
apply-test-identities.shand its test (commitab5ac7b). -
docs/13and the token proofs (commit6729598), and the other documents (commitbe66382). - The defects found under this issue: BUG-13: apply-test-identities: an LDAP measurement that cannot be computed can pass as unchanged #115 to BUG-24: A stored request row with no groupPath reads under the new default #126. Each has a fix commit on the branch.
- The second review pass of PR LDAP groups app-cmapi-rbac-<role>, cmapi.<role> test users, CA-only keychain #112 (
OB1-PROMPT.md, "Decided for you", item 1). - Merge PR LDAP groups app-cmapi-rbac-<role>, cmapi.<role> test users, CA-only keychain #112 when CI is green on its exact head.
- Apply the groups and test users on CRC in the Wave 1 run (Wave 1: deploy cmapi on CRC with oc apply, image in the internal registry by digest #94).
Definition of done
- Mockup approved, or the work has no screen and no API shape
- Draft pull request open
- Build: tests fail before the change and pass after it
- Review ruled
- Merged with its proof
- Released on the default branch
Class
INV. The role groups, the test users and their tests are new.
Source
Proof: each test user's token groups and roles match the table, on real Keycloak with an LDAP stand-in in realm-test.py, and on CRC at the run. cmapi.noaccess gets 403. A hash of every other LDAP entry is unchanged.
Nothing is written to CRC or LDAP (the comment of 2026-11-06).
Activity
ephico2real2 commentedon Nov 6, 2026
In PR #112. Codex reviewed it; reviewer 2 is checking. Nothing written to CRC or LDAP.
ephico2real2 commentedon Nov 6, 2026
Defects found under this issue: #115, #116, #117. All are on PR #112, in review.
ephico2real2 commentedon Nov 6, 2026
Defect found under this issue: #118, CI's
manifestsjob on PR #112.ephico2real2 commentedon Nov 6, 2026
Defects found by reviewer 2 under this issue: #119, #120, #121, #122, #123, #124, #125, #126.
ephico2real2 commentedon Nov 13, 2026
Work tag: In-Progress. Draft PR #112 (branch
ldap-rbac-names, headecc5cb3) closes this issue. Its commits are83d9a60,ab5ac7b,6729598andbe66382on that branch. The pull request is not merged, and the branch is not the default branch. Nothing is applied to CRC or LDAP. Read fromghandgitat 2026-11-13T09:18Z.