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

Actions menu doesn't display for Agreements even when there are valid actions for the user

    XMLWordPrintable

    Details

    • Template:
      Standard Bug Write-Up Format
    • Sprint:
      ERM Sprint 111, ERM Sprint 112
    • Development Team:
      ERM
    • Release:
      R1 2021 Bug Fix

      Description

      Overview:
      Steps to Reproduce:

      1. Log into https://folio-snapshot.dev.folio.org/ as erm-observer (u/n & pword are erm-observer)
      2. Open an agreement

      Expected Results:

      Agreement displays with Action menu containing option to Export agreement
      Actual Results:

      No Action menu displayed for Agreement

      Additional Information:

      erm-observer has permission `ui-agreements.agreements.view`. This should lead to the Actions button displaying (I think the line in the code is https://github.com/folio-org/ui-agreements/blob/ecd44e6fa12968618ce0b95179defe1fad62da11/src/components/views/Agreement.js#L143) but for some reason the Action button doesn't display at all. I suspect that the display/non-display of the Actions button must have another layer of control over it somewhere that requires the user to have perm ui-agreements.agreements.edit for it to display

      URL:
      Interested parties:

        TestRail: Results

          Attachments

            Issue Links

              Activity

                People

                Assignee:
                ostephens Owen Stephens
                Reporter:
                ostephens Owen Stephens
                Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                  Dates

                  Created:
                  Updated:
                  Resolved:

                    TestRail: Runs

                      TestRail: Cases