Skip to content

Resolves Issue #1667, Org controller middleware registry flag parsing#1821

Open
afoote-mitre wants to merge 1 commit into
devfrom
af-1667
Open

Resolves Issue #1667, Org controller middleware registry flag parsing#1821
afoote-mitre wants to merge 1 commit into
devfrom
af-1667

Conversation

@afoote-mitre
Copy link
Copy Markdown
Collaborator

Closes Issue #1667

Summary

The org controller middleware was incorrectly parsing the incoming registry flag value, leading to conditional logic that always evaluated as false regardless of what the flag was set to.

Important Changes

src/controller/org.controller/org.middleware.js

  • Updated conditional logic in validateUserIdOrUsername() and validateUpdateOrgParameters()

Testing

Steps to manually test updated functionality, if possible

  • 1) Run npm run test:integration and ensure all tests pass
  • 2) Run npm run test:unit-tests and ensure all tests pass

@afoote-mitre afoote-mitre requested a review from david-rocca May 22, 2026 14:49
@afoote-mitre afoote-mitre self-assigned this May 22, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant