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

Permissions for view agreements, resources, platforms should be linked

    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 some FOLIO environment with a user who has only permission to search and view platforms (ui-agreements.platforms.view)
      2. Navigate to Agreements

      Expected Results:

      The search and filter screen displays with user on the Platforms search filters showing (/erm/platforms) in left hand pane and other search options not displaying

      Actual Results:

      Attempt to load /erm/agreements and fails with error "Sorry - your permissions do not allow access to this page.".

      Fix:

      To fix this, we will amend the permissions so users with permissions to search resources will always have permission to search agreements, and users with permission to search platforms will always have permission to search resources and agreements.

      To do this, implement the following changes in ui-agreements package.json:

      1. Add "ui-agreements.agreements.view" as a subPermission of "ui-agreements.resources.view"
      2. Update description of "ui-agreements.resources.view" to: `Grants all permissions included in 'Agreements: Search & view agreements' plus the ability to search and view e-resources (packages and titles in those packages) in the internal KB.`
      3. Add "ui-agreements.resources.view" as a subPermission of "ui-agreements.platforms.view"
      4. Update description of "ui-agreements.platforms.view" to: `Grants all permissions included in 'Agreements: Search & view e-resources' plus the ability to search and view platforms in the internal KB

        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