Feature PR-5.4-dev Pending

User tests: Successful: Unsuccessful:

avatar alikon
alikon
30 Aug 2026

Updated the AddUserCommand to include password confirmation like in site/admin application.

Pull Request resolves #37629.

  • I read the Generative AI policy and my contribution is either not created with the help of AI or is compatible with the policy and GNU/GPL 2 or later.

Summary of Changes

use the site/admin validation in cli

Testing Instructions

create a user using the cli
php cli/joomla.php user:add

Actual result BEFORE applying this Pull Request

no validation on password

Expected result AFTER applying this Pull Request

password validation as per site/admin form validation

Link to documentations

Please select:

  • Documentation link for guide.joomla.org:

  • No documentation changes for guide.joomla.org needed

  • Pull Request link for manual.joomla.org:

  • No documentation changes for manual.joomla.org needed

avatar alikon alikon - open - 30 Aug 2026
avatar alikon alikon - change - 30 Aug 2026
Status New ⇒ Pending
avatar joomla-cms-bot joomla-cms-bot - change - 30 Aug 2026
Category ⇒ Libraries
avatar alikon
alikon - comment - 30 Aug 2026

wondering why this pr is not running the full ci/cd pipeline

avatar alikon
alikon - comment - 30 Aug 2026

wondering why this pr is not running the full ci/cd pipeline
because it is in Draft status ?

avatar richard67
richard67 - comment - 30 Aug 2026

wondering why this pr is not running the full ci/cd pipeline because it is in Draft status ?

@alikon No, it is bbecause of the automated code style fix (commit e575391 ). This runs with the option to skip CI.

avatar richard67
richard67 - comment - 30 Aug 2026

wondering why this pr is not running the full ci/cd pipeline because it is in Draft status ?

@alikon No, it is because of the automated code style fix (commit e575391 ). This runs with the option to skip CI.

avatar brianteeman
brianteeman - comment - 30 Aug 2026

When you enter an invalid usergroup eg 9 then the error is displayed immediately
But if you enter an invalid password you dont get the error message until the very end

Otherwise it works as expected

avatar alikon alikon - change - 31 Aug 2026
Labels Added: PR-5.4-dev
avatar alikon
alikon - comment - 31 Aug 2026

if you enter an invalid password you dont get the error message until the very end

fixed

avatar brianteeman brianteeman - test_item - 31 Aug 2026 - Tested successfully
avatar brianteeman
brianteeman - comment - 31 Aug 2026

I have tested this item ✅ successfully on b7caaaf


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/48343.

avatar brianteeman
brianteeman - comment - 31 Aug 2026

I have tested this item ✅ successfully on b7caaaf


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/48343.

avatar richard67
richard67 - comment - 31 Aug 2026

@alikon This PR looks like a new feature to me regarding its implementation. I've discussed it with a few other maintainers and they agree with me.

Could you rebase this PR to 6.3-dev, or if that does not work well redo it for 6.3-dev?

Thanks in advance.

avatar brianteeman
brianteeman - comment - 31 Aug 2026

its a bugfix not a feature

0e5dc9b 1 Sep 2026 avatar alikon cs
avatar alikon
alikon - comment - 1 Sep 2026

@richard67

This PR looks like a new feature to me regarding its implementation. I've discussed it with a few other maintainers and they agree with me.

can you clarify why it looks like a new feature ?
Before the pr you can create a user with a password that don't satisfy the password rules that are present across all the system

avatar richard67
richard67 - comment - 1 Sep 2026

@richard67

This PR looks like a new feature to me regarding its implementation. I've discussed it with a few other maintainers and they agree with me.

can you clarify why it looks like a new feature ? Before the pr you can create a user with a password that don't satisfy the password rules that are present across all the system

Well, it fixes a bug, but it does that by adding new functionality. I will put it on the agenda for the weekly maintainers meeting and ask again. Personally I am in the middle of the 2 chairs.

avatar richard67 richard67 - alter_testresult - 1 Sep 2026 - brianteeman: Tested successfully
avatar richard67
richard67 - comment - 1 Sep 2026

I've restored @brianteeman test result in the issue tracker as the later commits which have invalidated the test counter were just code style changes (empty lines) and a clean branch update.

avatar richard67 richard67 - alter_testresult - 1 Sep 2026 - brianteeman: Tested successfully
avatar muhme
muhme - comment - 2 Sep 2026

@alikon Thank you for your contribution to fixing this issue, which was opened in 2022.

We discussed this PR in the maintainer meeting. It could be considered either a bug fix or a new feature. In the end, we decided to treat it as a feature.

Could you please rebase the PR against the 6.3-dev branch?

avatar alikon
alikon - comment - 3 Sep 2026

How a bug fix can be considered a feature, leaves me extremely perplexed, and still no explanation has been provided as to why it is considered a feature, the only clear thing is that it will probably be released in about 9 months, absurd

avatar alikon alikon - change - 3 Sep 2026
Status Pending ⇒ Closed
Closed_Date 0000-00-00 00:00:00 ⇒ 2026-09-03 06:20:18
Closed_By ⇒ alikon
Labels Added: Feature
avatar alikon alikon - close - 3 Sep 2026
avatar alikon
alikon - comment - 3 Sep 2026

rebased pr #48361

Add a Comment

Login with GitHub to post a comment