Repository navigation
Hide descendant CNA–Secretariat conversations from Root users and admins. - #2108
Merged
Merged
Conversation
cberger8
approved these changes
Dec 3, 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.
Summary
Root users and admins can still read their own organization’s public messages with the Secretariat. They can also retrieve direct and indirect descendant organization records, but those records now omit the optional
conversationfield. Existing clients require no changes. [Commit 15b10c7f](15b10c7)Important Changes
conversationfield already present on the returned record. This also applies to detail requests withexpand=users. [Registry handlers](https://github.com/CVEProject/cve-services/blob/15b10c7f41b7e43a9faf96a897e2f5b38a40e017/src/controller/registry.controller/org.registry.controller.js)Testing
Automated results: 468 unit tests and 1,214 integration tests passed. Integration tests ran against a local MongoDB replica set. Regression coverage includes both Root roles, direct and indirect descendants, descendant-only pages, CNA isolation, and notification recipients. [Regression tests](
cve-services/test/integration-tests/registry-org/rootReadAccessTest.js
Line 231 in 15b10c7
GET /api/registry/orgas a Root user and then as a Root admin. Confirm both see their own messages and every descendant entry omitsconversation.GET /api/registry/org/{descendant}?expand=users. Confirm HTTP 200, the expected user details, and an absentconversationfield.