openreview / openreview-web

The official web interface for OpenReview.net
https://openreview.net
GNU Affero General Public License v3.0
15 stars 2 forks source link

Author Console - change profiles call to load for each paper #2069

Closed xkopenreview closed 2 months ago

xkopenreview commented 3 months ago

currently author console checks for author active status by looking up for a profile using tilde id or email depending on which one is used in note authors

when 2 papers are using different emails of the same user, the call /profiles?confirmEmail=email1,email2 will return 1 profile and the profile.email is the first email in profile.emails array

this will cause the paper associated with email2 (assuming email 1 is profile.email in profiles result) to show the author is inactive because it couldn't locate a profile using email2 (mapping is email1=>profile)

the fix is to change the call to /profiles to be 2 calls for each paper so that email2 is also associated with a profile