Uploaded image for project: 'eZ Publish / Platform'
  1. eZ Publish / Platform
  2. EZP-29122

As a developer, I want to configure password policies in ezuser Field Definitions

    Details

      Description

      It should be possible to configure password policies through ezuser fields definitions.

      Constraints list:

      label input type default
      Minimum password length number 8
      Require at least one uppercase letter checkbox checked
      Require at least one lowercase letter checkbox checked
      Require at least one number checkbox checked
      Require at least one nonalphanumeric character checkbox checked

      Validation by regular expression

      As an alternative to the above, a (perl compatible) regular expression can be entered. When it is, the "simple" constraints in the previous chapter are disabled (greyed out), and not applied. The regular expression's validity must be tested when the form is submitted.

      Error text

      Independently of the chosen validation method, an input field sets the validation error message shown when the constraints aren't met.

      Validation scope

      Validation should happen in all contexts where a user password can be set:

      • User register
      • User edit
      • Change password (user profile, up v2.1)
      • REST API
      • Public API

      Backward compatibility

      Existing installations shouldn't have any of those options enabled. It can be detected in the converter / fieldtype, since the configuration for them won't exist in the database.

      New installations should have the defaults indicated above, prestored in the default user_account field definition.

        Issue Links

          Activity

          Transition Time In Source Status Execution Times Last Executer Last Execution Date
          Open Open Backlog Backlog
          3d 6h 30m 1 Bertrand Dunogier 23/Apr/18 4:35 PM
          Backlog Backlog Specification Specification
          33s 1 Bertrand Dunogier 23/Apr/18 4:36 PM
          Specification Specification Specification Review Specification Review
          38d 14m 1 Bertrand Dunogier 31/May/18 4:51 PM
          Specification Review Specification Review Specification Done Specification Done
          195d 22h 12m 1 Barbara Grajczyk 13/Dec/18 2:04 PM
          Specification Done Specification Done Development Development
          4s 1 Barbara Grajczyk 13/Dec/18 2:04 PM
          Development Development Development Done Development Done
          40s 1 Barbara Grajczyk 13/Dec/18 2:04 PM
          Development Done Development Done QA QA
          1m 32s 1 Barbara Grajczyk 13/Dec/18 2:06 PM
          QA QA QA Done QA Done
          22s 1 Barbara Grajczyk 13/Dec/18 2:06 PM
          QA Done QA Done Closed Closed
          16s 1 Barbara Grajczyk 13/Dec/18 2:06 PM

            People

            • Assignee:
              Unassigned
              Reporter:
              Ramzi Arfaoui
            • Votes:
              1 Vote for this issue
              Watchers:
              8 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: