Uploaded image for project: 'ERM Platform'
  1. ERM Platform
  2. ERM-2351

Show error on Agreement line view if user does not have permission for orders.po-lines.collection.get

    XMLWordPrintable

Details

    • ERM Sprint 149, ERM Sprint 150
    • Bienenvolk
    • Nolana (R3 2022)
    • Incomplete/missing requirements

    Description

      Overview:

      Similar to ERM-495, if the user does not have the permission orders.po-lines.collection.get and views an agreement line linked to a POL, they should see the ui-agreements.agreementLines.noPoLinePerm error message

      Steps to Reproduce:

      1. Setup an Agreement line and link to a POL
      2. Login with a user who does not have orders.po-lines.collection.get  permission (e.g. the 'erm-observer' user on Folio Snapshot/Snapshot-2)
      3. View the Agreement line you have created and linked in the agreement line view

      Expected Results:

      User sees the error message ""No permissions to view POL" (ui-agreements.agreementLines.noPoLinePerm)

      Actual Results:

      User sees the message "No PO lines for this agreement line."

       

      TestRail: Results

        Attachments

          Issue Links

            Activity

              People

                ostephens Owen Stephens
                ostephens Owen Stephens
                Votes:
                0 Vote for this issue
                Watchers:
                6 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved:

                  TestRail: Runs

                    TestRail: Cases