[OPENIDM-14388] QA: Privilege filter for edge's relationship field should limit objects returned Created: 18/Feb/20  Updated: 17/Mar/20  Resolved: 11/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:
Relates
relates to OPENIDM-14387 DA: Too many objects returned from an... Closed
Target Version/s:
Verified Version/s:
Story Points: 1
Sprint: 2020.03 - IDM

 Description   

On a request such as: 

http://{{host}}:{{port}}/openidm/managed/user/scarter/roles?_queryFilter=true&_fields=*,members/*

A regression was found that has been occurring since October. We realize we must not have functional test coverage for this case:

If there is a privilege filter that should limit members objects, the total objects should be limited by filter. For example, a privilege of "/userName eq 'scarter'" on "managed/user" should limit the results for scarter's roles' members to only those objects with a userName equal to scarter.

Related Jira that is filed for the bug which describes the problem in a bit more detail: OPENIDM-14387


Generated at Mon Mar 01 09:38:40 UTC 2021 using Jira 7.13.12#713012-sha1:6e07c38070d5191bbf7353952ed38f111754533a.