Skip to content

Conversation

@ArnauCForgeFlow
Copy link
Contributor

Added a new field to the tier definition that allows setting a password confirmation. Later, during tier validation, the system will ask the user to confirm their password in order to validate or reject. If the comment option is enabled, the password confirmation will be requested after the comment wizard.

@OCA-git-bot
Copy link
Contributor

Hi @LoisRForgeFlow,
some modules you are maintaining are being modified, check this out!

@ArnauCForgeFlow ArnauCForgeFlow force-pushed the 18.0-imp-base_tier_validation-add_pw_confirm branch from 4f17018 to 9482a81 Compare November 10, 2025 08:47
Copy link

@LauraCForgeFlow LauraCForgeFlow left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Functional testing LGTM 👍

@JoanSForgeFlow
Copy link
Contributor

Hi @etobella ,

Could you please review this PR when you have a moment and merge it if everything looks good?

Thank you!

@DavidJForgeFlow
Copy link
Contributor

@pedrobaeza could you merge here if looks good to you?

@pedrobaeza pedrobaeza added this to the 18.0 milestone Dec 3, 2025
@pedrobaeza
Copy link
Member

I don't think this is correct, as you are only counting if the users have Odoo login, but not OAuth or other forms of login, and besides, it's some kind of duplicated behavior, as you already logged in. I know the login is not closed, but putting this as a way to assure impersonation due to not closing the sessions seems weird. I wouldn't definitively put this on the base module.

@kevinkhao
Copy link
Contributor

kevinkhao commented Dec 9, 2025

Not sure if this is possible to do cleanly but splitting into another module base_tier_validation_password or somesuch will help keep base_tier_validation as small and targeted as possible seems a good idea. The module is already big.

Copy link
Member

@etobella etobella left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Following @pedrobaeza comments, it might happen that the user doesn't have a password if they use passkeys (for example).

I would opt for a new module to add this functionality.

Also, review res.users.identitycheck, this might help you to make it usable in all scenarios 😉

@LoisRForgeFlow
Copy link
Contributor

Closed in favor of #1213

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.

9 participants