-
-
Notifications
You must be signed in to change notification settings - Fork 234
9.0: FEATURE: Put initiating user id and creation date into event metadata #3875
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
skurfuerst
merged 13 commits into
9.0
from
feature/3874-userId-and-date-in-event-metadata
Oct 5, 2022
Merged
9.0: FEATURE: Put initiating user id and creation date into event metadata #3875
skurfuerst
merged 13 commits into
9.0
from
feature/3874-userId-and-date-in-event-metadata
Oct 5, 2022
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
bwaidelich
commented
Sep 1, 2022
skurfuerst
reviewed
Sep 1, 2022
...ntentRepository.Core/Classes/Feature/ContentStreamCreation/Event/ContentStreamWasCreated.php
Show resolved
Hide resolved
FYI: I plan to adjust the remaining code and tests later today |
Also remove "initiatingUserId" from command definitions and adjust tests
bwaidelich
commented
Sep 9, 2022
Makes the `UserIdProvider` a concept of the core package so that the user id can be determined "lazily". In practice this means that we can use the CR instance for _reading_ already before the authenticated user can be determined. When handling commands, an exception will be thrown if no user can be determined at this point. This also adjusts the event decoration in `\Neos\ContentRepository\Core\ContentRepository::handle()` such that `initiatingUserId` and `initiatingTimestamp` is not overridden once it is set (see #3887)
…ring A follow up to 5f80a56 adjusting further Behat tests to the Identifier -> Id refactoring
…ifier-id-refactoring 9.0: BUGFIX: Adjust remaining Behat tests to Identifier -> Id refactoring
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.
Resolves: #3874