Project

General

Profile

Task #7587

Pending account map listing should not show equivalent identities

Added by Ben Leinfelder over 6 years ago. Updated over 6 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Ben Leinfelder
Category:
d1_identity_manager
Start date:
2016-01-15
Due date:
% Done:

100%

Estimated time:
0.00 h
Story Points:
Sprint:

Description

Matt has 5 identities. Identity 1 is mapped as equivalent to 2,3,4. He requested that Identity 5 be mapped to 1 and then saw that 5 request, but also 2,3,4 because they are equivalent.
I think we can just not return the equivalent identities for the pending identity and be done with this.

https://cn.dataone.org/cn/v1/accounts/pendingmap/http:%2f%2forcid.org%2f0000-0003-0077-4738

or if it changes:



http://orcid.org/0000-0003-0077-4738
Matthew B.
Jones
false


CN=Matt Jones A729,O=Google,C=US,DC=cilogon,DC=org
Matthew
Jones
CN=dataone-coredev,DC=dataone,DC=org
uid=jones,o=NCEAS,dc=ecoinformatics,dc=org
uid=mjones,o=LTER,dc=ecoinformatics,dc=org

cn=Matthew Jones A332,o=ProtectNetwork,c=US,dc=cilogon,dc=org

true


uid=jones,o=NCEAS,dc=ecoinformatics,dc=org
NA
NA
NA


uid=mjones,o=LTER,dc=ecoinformatics,dc=org
NA
NA
NA



CN=Matthew Jones A332,O=ProtectNetwork,C=US,DC=cilogon,DC=org

Matthew
Jones
false


CN=dataone-coredev,DC=dataone,DC=org
dataone-coredev
CN=Matt Jones A729,O=Google,C=US,DC=cilogon,DC=org

CN=Benjamin Leinfelder A515,O=University of Chicago,C=US,DC=cilogon,DC=org


CN=ben leinfelder A756,O=Google,C=US,DC=cilogon,DC=org


CN=Robert P Waltz A904,O=Google,C=US,DC=cilogon,DC=org

CN=Matt Jones A729,O=Google,C=US,DC=cilogon,DC=org

/d1:subjectInfo

History

#1 Updated by Ben Leinfelder over 6 years ago

  • Status changed from New to In Progress
  • % Done changed from 0 to 30

switched 'recurse' parameter to false when processing equivalent identity request attributes in the identity service. Need to deploy and test.

#2 Updated by Ben Leinfelder over 6 years ago

  • Status changed from In Progress to Closed
  • % Done changed from 30 to 100
  • translation missing: en.field_remaining_hours set to 0.0

Deployed on sandbox-2 and was happy to see that only the pending identity request is shown even when that identity has an equivalent identity registered. In the UI, it looks exactly as expected when I go to confirm the requested mapping.

#3 Updated by Ben Leinfelder over 6 years ago

  • Estimated time set to 0.00

this is in trunk and the 2.0 branch

Also available in: Atom PDF

Add picture from clipboard (Maximum size: 14.8 MB)