Skip to content

Improve user password management and password requirements #2

Description

@vvcb

Component

User Management

Priority

Medium - Would improve workflow

Problem Description

The current workflow involves the admin user creating a user account and assigning an initial password. There is no option for the user to change their password. We currently do not enforce minimum requirements for passwords either and the email fields in the Add New User part of the Admin tab does not require validation. All of this needs improving.

Proposed Solution

  • Implement a 'Change Password' feature once the user is logged in.
  • If the user is logging in for the first time, prompt to change password and do not continue until the password is changed.
  • Enforce minimum password requirements - Minimum 8 characters, one capital, one number and one non-alphanumeric character
  • Add a repeat password box at both user creation time by the admin and the user's own change password workflow.

Alternative Solutions

Leave things as they are now. This is not ideal.

User Story

As a non-administrative user, I want to be able to change the password to something that I can remember and something that is different from what was set up by the admin. This will improve security.

As a admin user, I want the user to be able to change their password. I want to enforce minimum password requirements and password validation to avoid mistypes. I want email field to be validated as well. Email should end with nhs.uk.

Acceptance Criteria

  • User is able to change password
  • Password validation is implemented both at creation and change enforcing minimum requirements
  • User is forced to change password at first login
  • A retype password field is added to the forms
  • Email validation (for nhs.uk subdomains) is implemented

Mockups/Wireframes

No response

User Type

All Users

Current Workflow

No response

Impact Assessment

No response

Technical Considerations

This is important part of improving the security of the overall solution.

Additional Context

No response

Checklist

  • I have searched for existing feature requests that might be similar to this one
  • I have provided all the requested information above
  • This feature would benefit the ResTrack user community
  • I understand this is a clinical application and changes must be carefully evaluated

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions