Show visual status indicator for each file record. The following decisions should probably be made in that order, stopping at first matching condition:
if file has null dbgap_study_id: dbGaP access requirements not known by portal
else if user profile lacks RAS extension: unknown whether user has access due to login method
else if user profile has matching study ID: user has access to file
else: user does not have access to file
Perhaps we can show a set of colored discs with tooltip text similar to how we show submission/release status in the submission registry?
no access requirements known for file: no circle
in record page the column doesn't show if no dbgap study id is present
in recordset page the column is empty if no dbgap study id is present
required access not determined due to idP: filled grey circle
tooltip: "User access to this file undetermined, check log in credentials"
Show visual status indicator for each file record. The following decisions should probably be made in that order, stopping at first matching condition:
dbgap_study_id
: dbGaP access requirements not known by portalPerhaps we can show a set of colored discs with tooltip text similar to how we show submission/release status in the submission registry?