Details

    • Type: New Feature
    • Status: Done
    • Priority: Medium
    • Resolution: Done
    • Affects Version/s: None
    • Fix Version/s: Integration with SMB
    • Labels:
      None

      Description

      Provide security for preview document.

        Attachments

        1. DMS-705.jpg
          DMS-705.jpg
          119 kB
        2. DMS-705.jpg
          DMS-705.jpg
          160 kB

          Issue Links

            Activity

            Hide
            rohan.khandave Rohan J Khandave (Inactive) added a comment -

            Approach :

            1. Preview document link will have one token.
            2. At our end we validate token & will display document.
            3. Token will be valid for specific time period .
            4. If token expired / not valid , we will show message regarding same.

            Show
            rohan.khandave Rohan J Khandave (Inactive) added a comment - Approach : 1. Preview document link will have one token. 2. At our end we validate token & will display document. 3. Token will be valid for specific time period . 4. If token expired / not valid , we will show message regarding same.
            Hide
            jayshree.nagpure Jayshree Nagpure (Inactive) added a comment - - edited
            Show
            jayshree.nagpure Jayshree Nagpure (Inactive) added a comment - - edited Hi Rohan J Khandave , Verified the token for Preview document. https://dms.workterra.net/viewer?Token=c93ef07906bc48c0a670350581dba3ce&key=da24842e1fae82bf714ee7be7edbfd06602d6b24b391967ead5718f29032c4f1 Will check tomorrow for expiration scenario. Thanks, Jayshree Priya Dhamande Samir Swapnil Pandhare
            Hide
            jayshree.nagpure Jayshree Nagpure (Inactive) added a comment -

            Hi Rohan J Khandave,

            As per our discussion . document will expire after 24 hours.
            But We are able to access document after 24 hours also.
            PFA -

            Re-opening for the same

            Thanks,
            Jayshree

            Priya Dhamande Swapnil Pandhare Samir

            Show
            jayshree.nagpure Jayshree Nagpure (Inactive) added a comment - Hi Rohan J Khandave , As per our discussion . document will expire after 24 hours. But We are able to access document after 24 hours also. PFA - Re-opening for the same Thanks, Jayshree Priya Dhamande Swapnil Pandhare Samir
            Show
            rohan.khandave Rohan J Khandave (Inactive) added a comment - https://dmsstage.workterra.net/viewer?Token=056d679dbc66426aa347b1503dbd2de5&key=fec937f9831f37e540ffa173cc408b9d0ad117c35f03f4ddeb2357fa4637b3da https://dmsstage.workterra.net/viewer?Token=40c9908c146c4d2dadc29c8f8d345771&key=44a6d61fc47eed0329bc483ffbe83d942649cbc5060305556cc7f3388db4bbeb https://dmsstage.workterra.net/viewer?Token=b0ca64aefb374604bdce3f843df2cd68&key=00bfa26f6ca75bb8087e7d4c2cf963ab03277ed5e3736c097cd8f1f2cc0f5c92 https://dmsstage.workterra.net/viewer?Token=7de4218b8954406c9c0a451f5d28ff58&key=6957896f9d99f40aca20e20dd0d24171a7a88368e8616f0723491ab47c1af034
            Hide
            komal.barde Komal Barde (Inactive) added a comment -

            Task Done:

            1. Issue analysis and repro
            2. Code fixing for same (In-progress)
               
            Show
            komal.barde Komal Barde (Inactive) added a comment - Task Done: Issue analysis and repro Code fixing for same (In-progress)  
            Hide
            Ganesh.sadawarte Ganesh Sadawarte (Inactive) added a comment -

            Code review completed.

            Show
            Ganesh.sadawarte Ganesh Sadawarte (Inactive) added a comment - Code review completed.
            Hide
            komal.barde Komal Barde (Inactive) added a comment -

            List of modified files:

            1. DMS/DMS.App/src/DMS_WebApi/Controllers/UserAccount/UserController.cs
            2. DMS/DMS.Web/src/DMS_WebApp/ClientApp/src/app/Shared/Components/viewer/viewer.component.ts

            Unit testing done:

            1. Access document with active token
            2. Access document with expired token
            Show
            komal.barde Komal Barde (Inactive) added a comment - List of modified files : DMS/DMS.App/src/DMS_WebApi/Controllers/UserAccount/UserController.cs DMS/DMS.Web/src/DMS_WebApp/ClientApp/src/app/Shared/Components/viewer/viewer.component.ts Unit testing done : Access document with active token Access document with expired token
            Hide
            jayshree.nagpure Jayshree Nagpure (Inactive) added a comment -

            1. Verified for old documents - Working as expected
            2. For newly created document, as Preview is not working , not able to verify the scenario

            For #2 - assigning this ticket.
            Assign back when preview issue is resolved.

            Thanks,
            Jayshree

            Show
            jayshree.nagpure Jayshree Nagpure (Inactive) added a comment - 1. Verified for old documents - Working as expected 2. For newly created document, as Preview is not working , not able to verify the scenario For #2 - assigning this ticket. Assign back when preview issue is resolved. Thanks, Jayshree
            Hide
            komal.barde Komal Barde (Inactive) added a comment -

            Hi Jayshree Nagpure,

            As discussed, the preview issue of second point is not related to this jira, so assigning this jira back to you. If you find any issue in preview of expire token then assign this jira back to me. And please create new jira for preview issue of second point.

            Thanks,
            Komal
            CC: Rohan J Khandave, Ganesh Sadawarte

            Show
            komal.barde Komal Barde (Inactive) added a comment - Hi Jayshree Nagpure , As discussed, the preview issue of second point is not related to this jira, so assigning this jira back to you. If you find any issue in preview of expire token then assign this jira back to me. And please create new jira for preview issue of second point. Thanks, Komal CC: Rohan J Khandave , Ganesh Sadawarte
            Hide
            jayshree.nagpure Jayshree Nagpure (Inactive) added a comment -

            Based on above comments closing this ticket

            Thanks,
            Jayshree

            Show
            jayshree.nagpure Jayshree Nagpure (Inactive) added a comment - Based on above comments closing this ticket Thanks, Jayshree

              People

              Assignee:
              komal.barde Komal Barde (Inactive)
              Reporter:
              rohan.khandave Rohan J Khandave (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - 24h
                  24h
                  Remaining:
                  Time Spent - 12h 10m Remaining Estimate - 11h 50m
                  11h 50m
                  Logged:
                  Time Spent - 12h 10m Remaining Estimate - 11h 50m
                  12h 10m