Skip to content
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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

[gateway] [emails] use the new default theme #8043

Closed
12 tasks
tcompiegne opened this issue Jul 6, 2022 · 3 comments 路 Fixed by gravitee-io/gravitee-access-management#2015
Closed
12 tasks

Comments

@tcompiegne
Copy link
Member

tcompiegne commented Jul 6, 2022

馃寛 Feature

As a 'administrator'

I want to 'update the current HMTL and Email templates design'

So that 'I can improve the overall look and feel of AM'

馃寗 Additional information

  • All templates MUST be updated
  • All templates MUST rely on internationalization

馃敆 Dependencies

Link a story or other related things...

馃摲 Mockups

Link to the Figma file

Capture d鈥檈虂cran 2022-07-22 a虁 10.49.16.png

馃摎 Documentation required

Provide link to the issue for documentation update

馃Ω Acceptance criteria

Confirm Registration

  • Given 'an admin user with rights to create new user in the conosle (domain user)' Then 'a registration email to confirm the user account is sent to the user in french' When 'user is created with the locale 'fr' in additional info and the pre-register toggle is switched on '
  • Given 'an admin user with rights to create new user in the conosle (domain user)' Then 'a registration email to confirm the user account is sent to the user in english' When 'user is created with the locale 'en' in additional info and the pre-register toggle is switched on '
  • Given 'an admin user with rights to create new user in the conosle (domain user)' Then 'a registration email to confirm the user account is sent to the user in english' When 'user is created without locale in additional info and the pre-register toggle is switched on '

Reset Password

  • Given 'an end user with additional information containing locale set to 'fr' ' Then 'a reset password email is sent to the user in french' When 'user click on Forgot Password and fill the form with the right email address'
  • Given 'an end user with additional information containing locale set to 'en' ' Then 'a reset password email is sent to the user in english' When 'user click on Forgot Password and fill the form with the right email address'
  • Given 'an end user without additional information ' Then 'a reset password email is sent to the user in english' When 'user click on Forgot Password and fill the form with the right email address'

Account Blocked

Context:
brute force enable with :

  • 2 Max login failures after which the account will be blocked.
  • "Send account recovery email" enabled

image

  • Given 'an end user with additional information containing locale set to 'fr' ' Then 'a blocked account email is sent to the user in french' When 'user has two login failures'
  • Given 'an end user with additional information containing locale set to 'en' ' Then 'a blocked account email is sent to the user in english' When 'user has two login failures'
  • Given 'an end user without additional information' Then 'a blocked account email is sent to the user in english' When 'user has two login failures'

MFA Challenge

Context:
Application has the Email Factor configured and the user has enroll this factor

  • Given 'an end user with additional information containing locale set to 'fr' ' Then 'a challenge email is sent to the user in french containing the code' When 'user signed in'
  • Given 'an end user with additional information containing locale set to 'en' ' Then 'a challenge email is sent to the user in english containing the code' When 'user signed in'
  • Given 'an end user without additional information ' Then 'a challenge email is sent to the user in english containing the code' When 'user signed in'

鈿狅笍 Potential impacts

Which other features may be impacted by this fix. This could be populated after fix

What are the impacted versions?

馃殌

@omatthewsgravitee
Copy link
Contributor

@leleueri leleueri assigned leleueri and unassigned leleueri Jul 25, 2022
leleueri added a commit to gravitee-io/gravitee-access-management that referenced this issue Aug 3, 2022
leleueri added a commit to gravitee-io/gravitee-access-management that referenced this issue Aug 3, 2022
@leleueri leleueri reopened this Aug 3, 2022
@patelami
Copy link

patelami commented Aug 4, 2022

Env: nightly

Screenshot 2022-08-04 at 09 31 19

Screenshot 2022-08-04 at 09 52 48

Screenshot 2022-08-05 at 10 44 17

@patelami
Copy link

patelami commented Aug 9, 2022

Env: Nightly
Result: PASS

Self Registration confirmation:

Given an admin has created new user with additional attribute set to locale = fr_FR
And I have enable self registration
Then I should receive email to confirm registration in french

Given an admin has created new user with additional attribute set to locale = en_GB
And I have enable self registration
Then I should receive email to confirm registration in english

Given an admin has created new user with without any additional attribute
And I have enable self registration
Then I should receive email to confirm registration in english

Reset Password

Given an admin has created new user with additional attribute set to locale = fr_FR
And I request password reset
Then I should receive email with a link to reset password in french

Given an admin has created new user with additional attribute set to locale = en_GB
And I request password reset
Then I should receive email with a link to reset password in english

Given an admin has created new user with without any additional attribute
And I request password rest
Then I should receive email with a link to reset password in english

MFA challange

Given an admin has created new user with additional attribute set to locale = fr_FR
And I have setup and enabled email mfa
And I initiate a login flow
Then I should receive email in french

Given an admin has created new user with additional attribute set to locale = en_GB
And I have setup and enabled email mfa
And I initiate a login flow
Then I should receive email in english

Given an admin has created new user with without any additional attribute
And I have setup and enabled email mfa
And I initiate a login flow
Then I should receive email in english

Brut force
Given an admin has created new user with additional attribute set to locale = fr_FR
And the brut force is set to maximum 2 attempts
And I attempt to login with incorrect password twice
Then I should receive email in french about blocked email

Given an admin has created new user with additional attribute set to locale = gb_GB
And the brut force is set to maximum 2 attempts
And I attempt to login with incorrect password twice
Then I should receive email in english about blocked email

Given an admin has created new user with without any additional attribute
And the brut force is set to maximum 2 attempts
And I attempt to login with incorrect password twice
Then I should receive email in english about blocked email

PS: Updating locale from french to english or english to french is not working at the moment and will be fixed in this story: #8268 (comment)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants