Uploaded image for project: 'WORKTERRA'
  1. WORKTERRA
  2. WT-11066

Hi Trust - Force admin user to change password on first login

    Details

    • Type: Change Request
    • Status: Production Complete
    • Priority: Medium
    • Resolution: Bug Fixed
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: Platform
    • Labels:
      None
    • Module:
      Platform - Security
    • Reported by:
      Support
    • Item State:
      LB QA - On Hold
    • Sprint:
      WT Sprint 37 - Enhancement
    • Severity:
      Simple

      Description

      • This is for newly added Admin User Only.
      • When admin user logs in for first time in workterra, he will be redirected to change password screen.
      • Once password changed, user will directed to home page.
      • This will be only for first time, for second time on wards, admin will directly land on home page, as it does now.
      • Admin user can also change the password from "Change Password" screen.

      CC : Jaideep VinchurkarSatyaVijay Siddha

        Attachments

        1. Chng PWD.jpg
          Chng PWD.jpg
          113 kB
        2. First Login Admin.jpg
          First Login Admin.jpg
          121 kB
        3. Matt CA Login.jpg
          Matt CA Login.jpg
          147 kB
        4. Unable to navigate menu without pwd chng.jpg
          Unable to navigate menu without pwd chng.jpg
          142 kB
        5. WT-11066.xls
          17 kB

          Issue Links

            Activity

            Hide
            jaideep.vinchurkar Jaideep Vinchurkar (Inactive) added a comment - - edited

            Force admin user to change password on first login :
            New Implementation :

            • This is for newly added as well as existing Admin User Only.
            • With this new implementation , For First time login attemp user will redirected to change

            password screen.

            • Once password changes , user will redirect to home page.
            • This will be only for first time, for second time on wards, admin will directly land on home page, as it does now
            • User can manually change the password from "Change Password" screen.

            Development Efforts :
            User Interface Changes:

            • Need to design and integrate "Change password" pop up screen, which will be shown at first time login.
            • This screen will not close unless until user changed password successfully.

            Business logic Changes:

            • Need to integrate business logic to save changed password and redirect to home screen after first time login.
            • Add or change business logic to redirect to home page if user already changed password successfully on basis of "LastChangePasswordDate" DB field.

            Database Changes :
            No change needed as we can use "LastChangePasswordDate" from Users table.If last
            changes password date is null then will redirect to "change password" screen.

            Add or change script to get field ("LastChangePasswordDate") deatil

            Testing (Test scinario):

            • Login with newly added admin user,should be redirected to "Change password" screen.
            • Never show "Change password" screen afterwards password changed successfully.
            • With existing admin user , should be redirected to "change password" screen if user never had changed password.
            Show
            jaideep.vinchurkar Jaideep Vinchurkar (Inactive) added a comment - - edited Force admin user to change password on first login : New Implementation : This is for newly added as well as existing Admin User Only. With this new implementation , For First time login attemp user will redirected to change password screen . Once password changes , user will redirect to home page. This will be only for first time, for second time on wards, admin will directly land on home page, as it does now User can manually change the password from "Change Password" screen. Development Efforts : User Interface Changes: Need to design and integrate "Change password" pop up screen, which will be shown at first time login. This screen will not close unless until user changed password successfully. Business logic Changes: Need to integrate business logic to save changed password and redirect to home screen after first time login. Add or change business logic to redirect to home page if user already changed password successfully on basis of "LastChangePasswordDate" DB field. Database Changes : No change needed as we can use "LastChangePasswordDate" from Users table.If last changes password date is null then will redirect to "change password" screen. Add or change script to get field ("LastChangePasswordDate") deatil Testing (Test scinario): Login with newly added admin user,should be redirected to "Change password" screen. Never show "Change password" screen afterwards password changed successfully. With existing admin user , should be redirected to "change password" screen if user never had changed password.
            Hide
            jaideep.vinchurkar Jaideep Vinchurkar (Inactive) added a comment -

            Hi Vishal Bajad

            Please update status and dev due date of this ticket

            Show
            jaideep.vinchurkar Jaideep Vinchurkar (Inactive) added a comment - Hi Vishal Bajad Please update status and dev due date of this ticket
            Hide
            vishal.bajad Vishal Bajad (Inactive) added a comment -

            Hi All,

            We have done with code and unit testing ,Now ready for code review.

            Affected Files

            • /trunk/WORKTERRAweb/App/BusinessLogic/Company/Users.vb
            • /trunk/WORKTERRAweb/Web/Web Projects/WORKTERRA/Areas/UserDetails/Models/ChangePassword/ChangePasswordModel.cs
            • /trunk/WORKTERRAweb/Web/Web Projects/WORKTERRA/Areas/UserDetails/Views/UserDetails/ChangePassword/ChangePassword.cshtml
            • /trunk/WORKTERRAweb/Web/Web Projects/WORKTERRA/Models/Login/Login/UsersModels.cs

            Jaideep Vinchurkar Please have a review. check-in to trunk as well.

            Thanks !

            Show
            vishal.bajad Vishal Bajad (Inactive) added a comment - Hi All, We have done with code and unit testing ,Now ready for code review. Affected Files /trunk/WORKTERRAweb/App/BusinessLogic/Company/Users.vb /trunk/WORKTERRAweb/Web/Web Projects/WORKTERRA/Areas/UserDetails/Models/ChangePassword/ChangePasswordModel.cs /trunk/WORKTERRAweb/Web/Web Projects/WORKTERRA/Areas/UserDetails/Views/UserDetails/ChangePassword/ChangePassword.cshtml /trunk/WORKTERRAweb/Web/Web Projects/WORKTERRA/Models/Login/Login/UsersModels.cs Jaideep Vinchurkar Please have a review. check-in to trunk as well. Thanks !
            Hide
            jaideep.vinchurkar Jaideep Vinchurkar (Inactive) added a comment -

            Ready to LB check in

            Show
            jaideep.vinchurkar Jaideep Vinchurkar (Inactive) added a comment - Ready to LB check in
            Hide
            priya.handepatil Priya Handepatil (Inactive) added a comment -
            Show
            priya.handepatil Priya Handepatil (Inactive) added a comment - Hello Vishal Bajad Please refer Test cases WT-11066.xls cc: Sachin Hingole Prasad Pise Rakesh Roy Hrishikesh Deshpande Thank you !
            Hide
            priya.handepatil Priya Handepatil (Inactive) added a comment -

            Hi Vishal Bajad

            I have verified this change request on LB

            Verified With Companies " For QA JE Dunn and For QA MATT "

            Verified with Admins : Adminmatttest | Password@5.

            " Cancel" Button is appearing Hence, Its not Forcing Admin to Change Password

            Hence, Re-opening this ticket

            cc: Sachin Hingole Rakesh Roy Prasad Pise Hrishikesh Deshpande

            Thank You !

            Show
            priya.handepatil Priya Handepatil (Inactive) added a comment - Hi Vishal Bajad I have verified this change request on LB Verified With Companies " For QA JE Dunn and For QA MATT " Verified with Admins : Adminmatttest | Password@5. " Cancel" Button is appearing Hence, Its not Forcing Admin to Change Password Hence, Re-opening this ticket cc: Sachin Hingole Rakesh Roy Prasad Pise Hrishikesh Deshpande Thank You !
            Hide
            vishal.bajad Vishal Bajad (Inactive) added a comment -

            Hi ,

            This issue is because missing in single line code check-in , code merged and deployed on LB. Please proceed with testing.

            Thanks !

            CC :Jaideep Vinchurkar

            Show
            vishal.bajad Vishal Bajad (Inactive) added a comment - Hi , This issue is because missing in single line code check-in , code merged and deployed on LB. Please proceed with testing. Thanks ! CC : Jaideep Vinchurkar
            Hide
            priya.handepatil Priya Handepatil (Inactive) added a comment -

            Hi Vishal Bajad

            I have verified this change request on LB

            Verified With Companies " For QA Je Dunn and For QA Matt, For QA Symphony

            Verified with Multiple Company Admin Logins

            All mentioned Scenarios are working fine

            Hence, Marking this ticket as Ready For Stage

            cc: Sachin Hingole Prasad Pise Rakesh Roy Hrishikesh Deshpande

            Thank you !

            Show
            priya.handepatil Priya Handepatil (Inactive) added a comment - Hi Vishal Bajad I have verified this change request on LB Verified With Companies " For QA Je Dunn and For QA Matt, For QA Symphony Verified with Multiple Company Admin Logins All mentioned Scenarios are working fine Hence, Marking this ticket as Ready For Stage cc: Sachin Hingole Prasad Pise Rakesh Roy Hrishikesh Deshpande Thank you !
            Hide
            priya.handepatil Priya Handepatil (Inactive) added a comment -

            As Discussed with Vishal Bajad WT-11066 , WT-11068 , WT-11069 will move on stage together
            Hence, Marking it as on Hold because ,for WT-11069 testing is in Progress.

            cc: Sachin Hingole Prasad Pise Rakesh Roy Hrishikesh Deshpande

            Thank You !

            Show
            priya.handepatil Priya Handepatil (Inactive) added a comment - As Discussed with Vishal Bajad WT-11066 , WT-11068 , WT-11069 will move on stage together Hence, Marking it as on Hold because ,for WT-11069 testing is in Progress. cc: Sachin Hingole Prasad Pise Rakesh Roy Hrishikesh Deshpande Thank You !

              People

              Assignee:
              sachin.hingole Sachin Hingole (Inactive)
              Reporter:
              vishal.bajad Vishal Bajad (Inactive)
              Developer:
              Vishal Bajad (Inactive)
              QA:
              Priya Handepatil (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Dev Due Date:
                Pre-Prod Due Date:
                Production Due Date:
                Code Review Date:

                  Time Tracking

                  Estimated:
                  Original Estimate - 15h Original Estimate - 15h
                  15h
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 16.5h
                  16.5h