There are two submodules whose names differ only by a a plural:
Password Character Type Policy
Password Character Types Policy
And their descriptions are:
Identifies the number of specific character type in a password.
Sets up a character types constraint for passwords.
I can't tell the difference from those either.
I looked at the code in the plugins, and I am still not clear on what the difference is.
| Comment | File | Size | Author |
|---|---|---|---|
| #4 | password_policy-8.x-3.x-better_distinguish_character_type_constraints-2918957-4.patch | 1.18 KB | aohrvetpv |
Comments
Comment #2
aohrvetpv commentedI will explain the difference.
"Character Types" is the same as "Character Types" in 7.x-1.x and 7.x-2.x. You specify a number of different character types the password must have. There are four character types: lower, upper, digit, special. So, if you specify 3, the password must contain any 3 out of the 4 types.
With "Character Type" you specify how many characters of a given character type the password must have. So, you could specify that the password must have 2 special characters and 1 upper character.
This issue doesn't seem "Major" per the Priority definitions, but I think the names are confusingly similar and should be changed for clarity. Perhaps "Characters of Type" instead of "Character Type"?
Comment #3
aohrvetpv commentedSome previous discussion of the confusingly similar names starting with my comment here: #2667486-15: Implement the "character types" password constraint..
Comment #4
aohrvetpv commentedThis patch attempts to clarify the constraint names and descriptions. Better?
Notes:
- The descriptions I wrote are sentence fragments. They could be begun with "Specifies" if proper sentences are desired.
- The patch does not change the names in code or filenames.
Comment #5
aohrvetpv commentedAnother renaming possibility: Character Type -> Character Type Length
So you'd have:
Character Type Length
Character Types
Comment #6
aohrvetpv commentedComment #7
daggerhart commentedGood idea, I think this is a valid complaint that can be easily fixed.
Patch applied cleanly on simplytest, and the UI reflects the patch changes.
RTBCed
Comment #8
nerdsteinIve reviewed the code, tested, and i'm merging.
Comment #10
nerdstein