Uploaded image for project: 'Document Management System'
  1. Document Management System
  2. DMS-1811

Create Document Template : Manage Permissions

    Details

      Description

      https://careerbuilder.atlassian.net/browse/BETA-583

      Add a "select all"; Unselect all" for the fields setup "view only", " edit"; etc. 
      for form with many fields, it is really annoying to have to click on the little radio button a million times.

      Scenario

      As a User, I want to be able to have a Select and Unselect All at the top of the table.

      Entry Criteria

      1. User can access Template Creation and Edit screens.
      2. At least one Mapped Field is tied to a Template.
      3. User clicks on Manager Permissions.

      Requirements:

      1. There shall be a "Select All" control at the top of each Column in the Manage Permissions Table within the modal.
      2. Clicking on "Select All" shall have all the controls under that Column show selected.
      3. The "Unselect All" control shall be very similar to the Select All control, but will unselect those underneath it.

      Exit Criteria:

      1. Save the Manage Permission changes that were made.
      2. Close the Manage Permissions modal.

        Attachments

        1. DMS-1811.JPG
          DMS-1811.JPG
          54 kB
        2. DMS-1811 Feature.png
          DMS-1811 Feature.png
          28 kB
        3. Feature.png
          Feature.png
          29 kB
        4. Screenshot (333).png
          Screenshot (333).png
          120 kB
        5. Screenshot (334).png
          Screenshot (334).png
          121 kB
        6. Screenshot (335).png
          Screenshot (335).png
          117 kB
        7. Screenshot (336).png
          Screenshot (336).png
          117 kB
        8. Screenshot (337).png
          Screenshot (337).png
          115 kB
        9. Screenshot (338).png
          Screenshot (338).png
          115 kB

          Activity

          samir Samir created issue -
          samir Samir made changes -
          Field Original Value New Value
          Sprint DMS - Gap Fall & Win Sprint 2 [ 174 ]
          samir Samir made changes -
          Assignee Samir [ samir ] Raj Hawaldar [ raj.hawaldar ]
          samir Samir made changes -
          Description [https://careerbuilder.atlassian.net/browse/BETA-583] [https://careerbuilder.atlassian.net/browse/BETA-583]

          Add a "select all"; Unselect all" for the fields setup "view only", " edit"; etc. 
          for form with many fields, it is really annoying to have to click on the little radio button a million times.
          samir Samir made changes -
          Sprint DMS - Gap Fall & Win Sprint 2 [ 174 ] DMS - Gap Fall & Win Sprint 3 [ 177 ]
          samir Samir made changes -
          Fix Version/s Between Fall and Winter 2019 [ 10919 ]
          samir Samir made changes -
          Epic Link DMS-473 [ 75966 ]
          shashikant.mishra ShashiKant Mishra (Inactive) made changes -
          Remaining Estimate 8h [ 28800 ]
          Original Estimate 8h [ 28800 ]
          Raj.Hawaldar Raj Hawaldar (Inactive) made changes -
          Status To Do [ 10000 ] In Progress [ 3 ]
          Raj.Hawaldar Raj Hawaldar (Inactive) made changes -
          Remaining Estimate 8h [ 28800 ] 2h [ 7200 ]
          Time Spent 6h [ 21600 ]
          Worklog Id 198233 [ 198233 ]
          Raj.Hawaldar Raj Hawaldar (Inactive) logged work - 03/Sep/19 09:30 AM
          • Time Spent:
            6h
             

            Analysis, Discussion,  Development

          Raj.Hawaldar Raj Hawaldar (Inactive) logged work - 04/Sep/19 06:00 AM - edited
          • Time Spent:
            4h
             

            Development for select all is done. 

            Unselect functionality is not yet working.

             

          Raj.Hawaldar Raj Hawaldar (Inactive) made changes -
          Remaining Estimate 2h [ 7200 ] 0h [ 0 ]
          Time Spent 6h [ 21600 ] 12h [ 43200 ]
          Worklog Id 198501 [ 198501 ]
          Raj.Hawaldar Raj Hawaldar (Inactive) made changes -
          Remaining Estimate 0h [ 0 ] 2h [ 7200 ]
          Time Spent 12h [ 43200 ] 10h [ 36000 ]
          Worklog Id 198501 [ 198501 ]
          Hide
          samir Samir added a comment -

          Duplicate of DMS-1833

          Show
          samir Samir added a comment - Duplicate of  DMS-1833
          Robert.Malony Robert Malony (Inactive) made changes -
          Description [https://careerbuilder.atlassian.net/browse/BETA-583]

          Add a "select all"; Unselect all" for the fields setup "view only", " edit"; etc. 
          for form with many fields, it is really annoying to have to click on the little radio button a million times.
          [https://careerbuilder.atlassian.net/browse/BETA-583]

          Add a "select all"; Unselect all" for the fields setup "view only", " edit"; etc. 
          for form with many fields, it is really annoying to have to click on the little radio button a million times.

          h3. Scenario
          As a User, I want to be able to have a Select and Unselect All at the top of the table.

          h4. Entry Criteria
          # User can access Template Creation and Edit screens.
          # At least one Mapped Field is tied to a Template.
          # User clicks on Manager Permissions.

          h4. Requirements:
          # There shall be a "Select All" control at the top of each Column in the Manage Permissions Table within the modal.
          # Clicking on "Select All" shall have all the controls under that Column show selected.
          # The "Unselect All" control shall be very similar to the Select All control, but will unselect those underneath it.

          h4. Exit Criteria:
          # Save the Manage Permission changes that were made.
          # Close the Manage Permissions modal.
          Hide
          Robert.Malony Robert Malony (Inactive) added a comment -

          Hi Samir,

          Didn't know we had this one. I updated the description here and closed DMS-1833.

          -Robert

          Show
          Robert.Malony Robert Malony (Inactive) added a comment - Hi Samir , Didn't know we had this one. I updated the description here and closed DMS-1833 . -Robert
          Robert.Malony Robert Malony (Inactive) made changes -
          Labels Needs_UX
          Raj.Hawaldar Raj Hawaldar (Inactive) logged work - 06/Sep/19 12:00 AM - edited
          • Time Spent:
            5h
             

            Narendra Suggested some changes.
            Implementing Same.
            Analysis and Development.

          Raj.Hawaldar Raj Hawaldar (Inactive) made changes -
          Attachment image-2019-09-06-13-07-20-074.png [ 118617 ]
          Raj.Hawaldar Raj Hawaldar (Inactive) made changes -
          Attachment image-2019-09-06-13-09-37-690.png [ 118618 ]
          Raj.Hawaldar Raj Hawaldar (Inactive) made changes -
          Attachment image-2019-09-06-13-09-37-690.png [ 118618 ]
          Raj.Hawaldar Raj Hawaldar (Inactive) made changes -
          Attachment image-2019-09-06-13-07-20-074.png [ 118617 ]
          Raj.Hawaldar Raj Hawaldar (Inactive) made changes -
          Attachment Feature.png [ 118619 ]
          Hide
          Raj.Hawaldar Raj Hawaldar (Inactive) added a comment -

          Added Checkboxes to manage permission for editable and view only **to "select all" or "unselect all" permissions.

          Below is the screenshot of feature,

          Files affected: 

          DMS/DMS.Web/src/DMS_WebApp/ClientApp/src/app/admin/document/document-template/document-template.component.html
          DMS/DMS.Web/src/DMS_WebApp/ClientApp/src/app/admin/document/document-template/document-template.component.ts

          Scenarios Tested:

          1. Selected all editable fields for admin and view only for end-user.  

              Result: Admin is able to edit respective fields.

           

          2. Selected all view only fields for admin and selected edit fields for end-user.

          Result: Admin is not able to edit the fields and end-user can modify the fields.

           

          Note:  As the editable option is not available for multiple mapping selection, that field will not get selected in select all option.

          PR: https://github.com/cbdr/DMS/pull/856

           

           

          Regards,

          Raj.

          Show
          Raj.Hawaldar Raj Hawaldar (Inactive) added a comment - Added Checkboxes to manage permission for editable and view only  **to "select all" or "unselect all" permissions. Below is the screenshot of feature, Files affected:  DMS/DMS.Web/src/DMS_WebApp/ClientApp/src/app/admin/document/document-template/document-template.component.html DMS/DMS.Web/src/DMS_WebApp/ClientApp/src/app/admin/document/document-template/document-template.component.ts Scenarios Tested: 1. Selected all editable fields for admin and view only for end-user.       Result: Admin is able to edit respective fields.   2. Selected all view only fields for admin and selected edit fields for end-user. Result: Admin is not able to edit the fields and end-user can modify the fields.   Note:   As the editable option is not available for multiple mapping selection, that field will not get selected in select all option. PR:  https://github.com/cbdr/DMS/pull/856     Regards, Raj.
          Hide
          Raj.Hawaldar Raj Hawaldar (Inactive) added a comment -

          Hi, 

          Currently working on the suggestions provided in code review.

          Regards,

          Raj.

          Show
          Raj.Hawaldar Raj Hawaldar (Inactive) added a comment - Hi,  Currently working on the suggestions provided in code review. Regards, Raj.
          Hide
          Raj.Hawaldar Raj Hawaldar (Inactive) added a comment -

          As I need to make the same functionality for remaining permissions and need to implement some scenarios suggested by  Narendra Kumar changing the ETA.

          Regards,

          Raj.

          Show
          Raj.Hawaldar Raj Hawaldar (Inactive) added a comment - As I need to make the same functionality for remaining permissions and need to implement some scenarios suggested by  Narendra Kumar  changing the ETA. Regards, Raj.
          Raj.Hawaldar Raj Hawaldar (Inactive) made changes -
          Original Estimate 8h [ 28800 ] 24h [ 86400 ]
          Raj.Hawaldar Raj Hawaldar (Inactive) made changes -
          Remaining Estimate 2h [ 7200 ] 0h [ 0 ]
          Time Spent 10h [ 36000 ] 16h [ 57600 ]
          Worklog Id 199040 [ 199040 ]
          Raj.Hawaldar Raj Hawaldar (Inactive) made changes -
          Time Spent 16h [ 57600 ] 21h [ 75600 ]
          Worklog Id 199041 [ 199041 ]
          Raj.Hawaldar Raj Hawaldar (Inactive) made changes -
          Worklog Id 199041 [ 199041 ]
          Raj.Hawaldar Raj Hawaldar (Inactive) made changes -
          Attachment DMS-1811.JPG [ 118803 ]
          Raj.Hawaldar Raj Hawaldar (Inactive) made changes -
          Attachment DMS-1811 Feature.png [ 118807 ]
          Hide
          Raj.Hawaldar Raj Hawaldar (Inactive) added a comment -

          I have completed the development for 'manage permission (select all/ unselect all )'.
          Please refer this screenshots.

          Multiple mapped fields can have either 'View only' or 'No Rights' permission only.
          In presence of multiple mapped fields Select all checkbox will get marked for edit and required *permissions. You need to manually select view only* or required.
          Please refer screenshot.

          Regards,
          Raj.

          Show
          Raj.Hawaldar Raj Hawaldar (Inactive) added a comment - I have completed the development for 'manage permission (select all/ unselect all )'. Please refer this screenshots. Multiple mapped fields can have either 'View only' or 'No Rights' permission only. In presence of multiple mapped fields Select all checkbox will get marked for edit and required *permissions. You need to manually select view only* or required . Please refer screenshot. Regards, Raj.
          Raj.Hawaldar Raj Hawaldar (Inactive) logged work - 09/Sep/19 07:11 AM - edited
          • Time Spent:
            8h
             

            Completed Remaining Development
            Testing
            JIRA Update

          Raj.Hawaldar Raj Hawaldar (Inactive) made changes -
          Time Spent 21h [ 75600 ] 27h [ 97200 ]
          Worklog Id 199183 [ 199183 ]
          Raj.Hawaldar Raj Hawaldar (Inactive) made changes -
          Assignee Raj Hawaldar [ raj.hawaldar ] Narendra Kumar [ narendra.kumar ]
          Raj.Hawaldar Raj Hawaldar (Inactive) made changes -
          Status In Progress [ 3 ] Code Review [ 11801 ]
          Ashish.Durani Ashish Durani made changes -
          Status Code Review [ 11801 ] In QA Testing [ 11901 ]
          Ashish.Durani Ashish Durani made changes -
          Assignee Narendra Kumar [ narendra.kumar ] Jayshree Nagpure [ jayshree.nagpure ]
          jayshree.nagpure Jayshree Nagpure (Inactive) made changes -
          Assignee Jayshree Nagpure [ jayshree.nagpure ] Priya Dhamande [ priya.dhamande ]
          shashikant.mishra ShashiKant Mishra (Inactive) made changes -
          Sprint DMS - Gap Fall & Win Sprint 3 [ 177 ] DMS - Gap Fall & Win Sprint 3, DMS - Gap Fall & Win Sprint 4 [ 177, 179 ]
          priya.dhamande Priya Dhamande (Inactive) made changes -
          QA Estimates 4
          priya.dhamande Priya Dhamande (Inactive) made changes -
          Remaining Estimate 0h [ 0 ] 4h [ 14400 ]
          Hide
          priya.dhamande Priya Dhamande (Inactive) added a comment -

          Environment: Prod
          Login: Admin
          Browser: FF and Chrome

          Scenarios covered:
          1. Admin - Select All Check box available
          2. End User - Select All Check box available
          3. Admin - Can uncheck Select All Check box
          4. End User - Can uncheck Select All Check box
          5. Admin - If Multiple mapping is available, on selecting Select All button will not select specific mapping
          6. End User - If Multiple mapping is available, on selecting Select All button will not select specific mapping
          7. Admin - Check box getting disabled after sending document
          8. End User - Check box getting disabled after sending document
          9. Completed flow for PDF with Select All settings
          10. Completed flow of HTML after Select All settings
          11. Completed flow of TEXT after settings

          Will attache Test cases on 09/24.

          All scenarios worked as expected. So, marking jira done.

          Raj Hawaldar Rohan J Khandave

          Show
          priya.dhamande Priya Dhamande (Inactive) added a comment - Environment: Prod Login: Admin Browser: FF and Chrome Scenarios covered: 1. Admin - Select All Check box available 2. End User - Select All Check box available 3. Admin - Can uncheck Select All Check box 4. End User - Can uncheck Select All Check box 5. Admin - If Multiple mapping is available, on selecting Select All button will not select specific mapping 6. End User - If Multiple mapping is available, on selecting Select All button will not select specific mapping 7. Admin - Check box getting disabled after sending document 8. End User - Check box getting disabled after sending document 9. Completed flow for PDF with Select All settings 10. Completed flow of HTML after Select All settings 11. Completed flow of TEXT after settings Will attache Test cases on 09/24. All scenarios worked as expected. So, marking jira done. Raj Hawaldar Rohan J Khandave
          priya.dhamande Priya Dhamande (Inactive) logged work - 22/Sep/19 10:50 PM
          • Time Spent:
            1h
             

            Prod testing

          priya.dhamande Priya Dhamande (Inactive) made changes -
          Resolution Done [ 10000 ]
          Status In QA Testing [ 11901 ] Done [ 10001 ]
          priya.dhamande Priya Dhamande (Inactive) made changes -
          Status Done [ 10001 ] Done [ 10001 ]
          priya.dhamande Priya Dhamande (Inactive) made changes -
          Attachment Screenshot (336).png [ 120559 ]
          Attachment Screenshot (335).png [ 120560 ]
          Attachment Screenshot (334).png [ 120561 ]
          Attachment Screenshot (333).png [ 120562 ]
          Attachment Screenshot (338).png [ 120563 ]
          Attachment Screenshot (337).png [ 120564 ]
          priya.dhamande Priya Dhamande (Inactive) made changes -
          Remaining Estimate 4h [ 14400 ] 3h [ 10800 ]
          Time Spent 27h [ 97200 ] 28h [ 100800 ]
          Worklog Id 201730 [ 201730 ]
          Raj.Hawaldar Raj Hawaldar (Inactive) made changes -
          Remaining Estimate 3h [ 10800 ] 9h [ 32400 ]
          Time Spent 28h [ 100800 ] 22h [ 79200 ]
          Worklog Id 199040 [ 199040 ]
          Worklog Time Spent 6h [ 21600 ]
          Raj.Hawaldar Raj Hawaldar (Inactive) made changes -
          Remaining Estimate 9h [ 32400 ] 6h [ 21600 ]
          Time Spent 22h [ 79200 ] 25h [ 90000 ]
          Worklog Id 199041 [ 199041 ]
          Raj.Hawaldar Raj Hawaldar (Inactive) made changes -
          Remaining Estimate 6h [ 21600 ] 0h [ 0 ]
          Time Spent 25h [ 90000 ] 31h [ 111600 ]
          Worklog Id 203163 [ 203163 ]
          Raj.Hawaldar Raj Hawaldar (Inactive) made changes -
          Remaining Estimate 0h [ 0 ] 3h [ 10800 ]
          Time Spent 31h [ 111600 ] 28h [ 100800 ]
          Worklog Id 199041 [ 199041 ]
          Raj.Hawaldar Raj Hawaldar (Inactive) made changes -
          Remaining Estimate 3h [ 10800 ] 9h [ 32400 ]
          Time Spent 28h [ 100800 ] 22h [ 79200 ]
          Worklog Id 203163 [ 203163 ]
          Worklog Time Spent 6h [ 21600 ]
          Raj.Hawaldar Raj Hawaldar (Inactive) made changes -
          Remaining Estimate 9h [ 32400 ] 7h [ 25200 ]
          Time Spent 22h [ 79200 ] 24h [ 86400 ]
          Worklog Id 199183 [ 199183 ]
          Transition Time In Source Status Execution Times
          Raj Hawaldar (Inactive) made transition -
          To Do In Progress
          5d 6h 53m 1
          Raj Hawaldar (Inactive) made transition -
          In Progress Code Review
          6d 1h 47m 1
          Ashish Durani made transition -
          Code Review In QA Testing
          1d 16h 27m 1
          Priya Dhamande (Inactive) made transition -
          In QA Testing Done
          11d 23h 7m 1
          Priya Dhamande (Inactive) made transition -
          Done Done
          5s 1

            People

            Assignee:
            priya.dhamande Priya Dhamande (Inactive)
            Reporter:
            samir Samir
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Time Tracking

                Estimated:
                Original Estimate - 24h Original Estimate - 24h
                24h
                Remaining:
                Time Spent - 24h Remaining Estimate - 7h
                7h
                Logged:
                Time Spent - 24h Remaining Estimate - 7h
                24h