Skip to content

Data Request Access Button#10

Open
jb-adams wants to merge 5 commits into
developfrom
ja-iss-12-data-access-request-button
Open

Data Request Access Button#10
jb-adams wants to merge 5 commits into
developfrom
ja-iss-12-data-access-request-button

Conversation

@jb-adams

Copy link
Copy Markdown
Member

Allows logged in researchers to make data access requests via one click.

  • The UI renders all datasets on the platform, along with the researcher's access status for each (e.g. NotRequested, Requested, Approved, Denied). This data is rendered via the /datasets endpoint
  • If the access status is NotRequested, renders a button that triggers the POST /datasets/{id}/request-access endpoint. If the researcher clicks the button, the request is sent to the API. Upon clicking, the button disappears and the status is updated to confirm receipt of the request.
  • The button is not rendered if the access status is anything other than NotRequested
  • Upon clicking the Request Access button, the button disappears and the access status changes to Requested

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant