Project

General

Profile

Actions

Feature #101703

closed

Allow TCA fieldControl=passwordGenerator for more than type=password (i.e. for readable tokens)

Added by Garvin Hicking 9 months ago. Updated 3 months ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
FormEngine aka TCEforms
Start date:
2023-08-17
Due date:
% Done:

100%

Estimated time:
PHP Version:
Tags:
formengine password passwordgenerator token hashed
Complexity:
easy
Sprint Focus:

Description

Hi!

The new passwordGenerator option for TCA type=password is great. It would allow me to prevent creating own FormEngine Wizards.

However it currently is not usable for readable type=input fields. I would love to use the ability of passwordGenerator in addition to a passwordPolicy here.

This would allow me to define a TCA field for randomized access tokens very easily. The type=password TCA currently is not able to reveal "passwords", but that would be needed for backend editors to see the actual contents. Setting "hashed=false" sadly doesn't add a "reveal password" functionality.

I would love to offer trying to implement this, but want to know what direction to go:

A: Add configuration so that "password" fields with a "hashed=false" setting can show a button (just like for the passwordGenerator) that allows to reveal the current contents. I do not have much core-experience, it may be a problem to actually get/display the raw password at this place?

B: Add passwordGenerator ability to be used at least for type=input fields; there no masking of input would take place, and it could be used for randomizing tokens. passwordPolicy would also need implementation

C: ???

Probably related issues:
https://forge.typo3.org/issues/97387
https://forge.typo3.org/issues/96997
https://forge.typo3.org/issues/69190

Best regards,
Garvin


Related issues 3 (0 open3 closed)

Related to TYPO3 Core - Feature #101723: Add new fieldControl=revealPassword option to reveal passwords (PATCH)Rejected2023-08-22

Actions
Related to TYPO3 Core - Feature #98540: Create new TCA form element secret fieldClosedFrank Nägler2022-10-06

Actions
Related to TYPO3 Core - Bug #101740: Render fieldControl in FormEngine UuidElementResolved2023-08-23

Actions
Actions #1

Updated by Gerrit Code Review 9 months ago

  • Status changed from New to Under Review

Patch set 1 for branch main of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/80595

Actions #2

Updated by Gerrit Code Review 9 months ago

Patch set 2 for branch main of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/80595

Actions #3

Updated by Gerrit Code Review 9 months ago

Patch set 3 for branch main of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/80595

Actions #4

Updated by Garvin Hicking 9 months ago

  • Related to Feature #101723: Add new fieldControl=revealPassword option to reveal passwords (PATCH) added
Actions #5

Updated by Gerrit Code Review 9 months ago

Patch set 1 for branch main of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/80623

Actions #6

Updated by Gerrit Code Review 9 months ago

Patch set 2 for branch main of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/80623

Actions #7

Updated by Gerrit Code Review 9 months ago

Patch set 1 for branch main of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/80625

Actions #8

Updated by Christian Kuhn 9 months ago

  • Related to Feature #98540: Create new TCA form element secret field added
Actions #9

Updated by Gerrit Code Review 9 months ago

Patch set 3 for branch main of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/80623

Actions #10

Updated by Gerrit Code Review 9 months ago

Patch set 1 for branch 12.4 of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/80653

Actions #11

Updated by Garvin Hicking 9 months ago

  • Status changed from Under Review to Resolved
  • % Done changed from 0 to 100
Actions #12

Updated by Christian Kuhn 9 months ago

  • Related to Bug #101740: Render fieldControl in FormEngine UuidElement added
Actions #13

Updated by Benni Mack 3 months ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF