Uploaded image for project: 'mod-finance'
  1. mod-finance
  2. MODFIN-265

A user with certain permissions can not export fund and expense class codes

    XMLWordPrintable

Details

    • ACQ Sprint 150
    • Thunderjet
    • Nolana R3 2022
    • Perform Export fund and expense class codes as user with admin rights
    • TBD

    Description

      Overview:

      Error message appears when a user with certain permission is trying to export fund and expense class codes

      Preconditions:

      A user with following permissions is logged in:

      • Finance: Export finance records
      • Finance: View fiscal year
      • Finance: View fund and budget
      • Finance: View group
      • Finance: View ledger
      • Settings (Finance): View, edit, create, delete

      A user is on "Settings" app page

      At least one fund for current fiscal year exists
      Steps to Reproduce:

      1. Click "Finance" on "Settings" pane
      2. Click "Export fund and expense class codes" on "Finance" pane
      3. Choose current fiscal year on "Export fund and expense class codes" pane
      4. Click "Export" button

      Expected Results:

      File with fund and expense class codes successfully downloaded
      Actual Results:

      Error message "Failed to load fund data" appears, file with fund and expense class codes is not downloaded
      Additional Information:
      Response:

      {
        "errors" : [

      {     "message" : "Access for user 'nchistova' (7767697b-f6bd-4206-a0ff-2425cc1202c7) requires permission: finance-storage.expense-classes.collection.get",     "code" : "genericError",     "parameters" : [ ]   }

      ],
        "total_records" : 1
      }

      TestRail: Results

        Attachments

          Issue Links

            Activity

              People

                Unassigned Unassigned
                Nina Chistova Nina Chistova
                Nina Chistova Nina Chistova
                Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved:

                  TestRail: Runs

                    TestRail: Cases