-
Notifications
You must be signed in to change notification settings - Fork 65
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
Admin shall be able to change email adress of users #633
Labels
Milestone
Comments
de-jcup
added a commit
that referenced
this issue
Feb 18, 2022
- Introduce new Usecase - annotation `UseCaseAdminUpdatesUserEmailAddress` - usecase identifier `UC_ADMIN_UPDATES_USER_EMAIL_ADDRESS` - documentation via asciidoc + annotation data - Introduce new event/domain message - MessageID - MessageDataKey - enhanced UserMessage, contains now former email address (optional) - Implemented Logic - introducing new service `UserEmailAddressUpdateService` - Role allowed: only admin - added unit tests for service - Add REST access - introduced new method inside UserAdministrationRestController - Role allowed: only admin - additional (but not related) - introducing TestCanaryException, so easier to check exception handling
de-jcup
added a commit
that referenced
this issue
Feb 18, 2022
- Test API changes - added new method inside TestURLbuilder for new rest call - added new test call method inside class `AsUser` to make it callable inside integration test - Integration test - wrote test which does change as an administrator an existing user. - checks if user email address has been changed - checks if an email was sent to new user email address - checks if an email was sent to old user email address Additional (because necessary): - TestAPI changes - added test user detail information to fetch old email address from user for testing - changed AssertEmail and introduced TextSearchmode
de-jcup
added a commit
that referenced
this issue
Feb 18, 2022
- introduced `UserEmailAddressChangedNotificationService` - added tests to check mail content and subjects are correct created - changed integration test - email subject text a little bit different Additional - same smaller changes at update service - MockEmailAccess improved error output, contains now text search mode info
de-jcup
added a commit
that referenced
this issue
Feb 18, 2022
de-jcup
added a commit
that referenced
this issue
Feb 18, 2022
- applied source formatting by spotless - fixed failing unit test - added missing SPDX header related to #633
de-jcup
added a commit
that referenced
this issue
Feb 18, 2022
- added simple DAUI action to change email address for user - added missing method in `DeveloperAdministration` class - added new action inside `CommandUI`
This issue and its PR #1029 are now mentioned as an example in our wiki: |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Situation
Currently it is not possible to change the email address of an user - neither as administrator nor as user itself.
In this issue the admin shall get the possiblity to change an email address of an user
Usecase
As an administrator I want to change the email address of an user (even for himself)
Details
TODO
initiatedBy
and valueadmin
( so we can reuse the event later, for follow up use cases - e.g. users shall be able to change email address by themselves )
The text was updated successfully, but these errors were encountered: