Uploaded image for project: 'mod-permissions'
  1. mod-permissions
  2. MODPERMS-174

modulePermissions not read correctly

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • TBD
    • Resolution: Done
    • 6.0.0
    • 6.0.0
    • None
    • CP: sprint 130
    • 2
    • Core: Platform

    Description

      When checking that permissions can be added for user (operating user), mod-permissions checks X-Okapi-Permissions header in the assumption this has all modulePermissions for the request.

      It does not include them.. only the permission for the call itself. Fix this by looking at the
      token instead which includes JSON payload property extra_permissions that includes all modulePermissions.

      This can also be viewed as an Okapi error, although changing behavior should be done with care. So for now, changing mod-permissions to use existing infrastructure.

      TestRail: Results

        Attachments

          Issue Links

            Activity

              People

                adam Adam Dickmeiss (Inactive)
                adam Adam Dickmeiss (Inactive)
                Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved:

                  TestRail: Runs

                    TestRail: Cases