[OPENIDM-14431] QA: Edge collection queries should filter according to resource Created: 02/Mar/20  Updated: 11/Mar/20  Resolved: 09/Mar/20

Status: Closed
Project: OpenIDM
Component/s: None
Affects Version/s: 7.0.0
Fix Version/s: 7.0.0

Type: QA Task Priority: Major
Reporter: Katie Gonzalez Assignee: Alexander Dracka
Resolution: Fixed Votes: 0
Labels: DIXON
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
is related to OPENIDM-14370 Requests for edge returning too many ... Closed
Target Version/s:
Verified Version/s:
Story Points: 1
Sprint: 2020.03 - IDM
Epic Link: Delegated Admin Phase 2


From the related JIRA:

"Requests for edge returning too many objects when filter is only on one resource collection.

Example:A request to


will return too many objects if there is both an internal/role and a managed/role but the filter is only on one path."

Task: We need to test that the scenario actually does filter results by privilege resource path, and that the correct number of responses is returned.

Example scenario:

  • delegated user has privileges to both managed/role and internal/role, but the internal/role privilege has a filter of "/name eq 'openidm-authorized'"
  • psmith in the above request example user has 3 authzRoles assigned to them. 1 managed/role and 2 internal/role (1 named 'openidm-authorized', and 1 named whatever else)
  • perform the query above
  • Only 2 authzRoles should return. 1 managed/role and 1 internal/role named "openidm-authorized). This is because internal/role should be filtered by¬†"/name eq 'openidm-authorized'"

Generated at Mon Mar 08 11:45:25 UTC 2021 using Jira 7.13.12#713012-sha1:6e07c38070d5191bbf7353952ed38f111754533a.