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

          Hide
          samir Samir added a comment -

          Duplicate of DMS-1833

          Show
          samir Samir added a comment - Duplicate of  DMS-1833
          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
          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.
          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.
          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

            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