Repository navigation
[M2.3-fix] Review follow-ups for memberships, bindings, responses and enrollment errors - #109
Merged
Merged
Conversation
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.
Task
Review follow-ups for #90, #91 and #102, plus two rule-audit items. Refs #22
What changed
No directory oracle (#90, #91)
AccountMutationAuthority.confirmPassword()checks the caller's password without locks.MembershipCommands.addandBindingCommands.assigncall it before answeringresource_not_foundfor an unknown address. An unknown account and a wrong password now give the same 401, so these commands cannot list the instance's verified accounts or an organization's members. The success path still pays one Argon2id verification.Environment overrides (#91)
Explicit response fields (#102)
resourceDtospread whole store rows into responses. It is replaced byorganizationDto,projectDto,environmentDto,memberViewDtoandbindingViewDto, which list every field. A future column cannot reach session or bearer clients without a DTO change.Rule audit items
%w) and still drops the remote text. Its test fails without the fix (Unknown).eslint-disablegains its justification.How it was tested
Checklist