Agreements permission check required for module mod-kb-ebsco-java

Description

Given:
User has only eholdings permissions (see attached image)
When:
User goes search for any entity(provider/package/resource) inside eholdings
Then:
User should view any entity

Actual behaviour
User sees an error related to the permissions (see attached image)

Suggested solution:
check that user has permission on `erm.agreements.collection.get` before sending a request

Additional info: issue found in scope of

CSP Request Details

None

CSP Rejection Details

None

Potential Workaround

None

Attachments

2

Checklist

hide

TestRail: Results

Activity

Show:

Natalia Zaitseva November 12, 2019 at 2:59 PM

thank you, I accidentally created a ticket in the wrong project, already moved to correct one

Owen Stephens November 12, 2019 at 2:56 PM

From the screenshot it looks to me as if mod-agreements is returning an appropriate response, and the question is what eHoldings should do when it gets this response?

If so, I think the component should not be mod-agreements here

Done

Details

Assignee

Reporter

Priority

Story Points

Sprint

Development Team

Spitfire

Fix versions

TestRail: Cases

Open TestRail: Cases

TestRail: Runs

Open TestRail: Runs

Created November 12, 2019 at 2:50 PM
Updated December 6, 2019 at 12:36 PM
Resolved December 6, 2019 at 12:36 PM
TestRail: Cases
TestRail: Runs