Skip to end of banner
Go to start of banner

Services to Manage Access Request

Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 12 Next »

Field

A field represents a field in a data access request form. Once a field is created, it cannot be updated.

Field
String id
AcceptType type (String, Long, User)
String prompt
FieldCreate
AcceptType type (String, Long, User)
String prompt

Services to create and retrieve a field:


ActionIntended UserURIMethodRequest ParamsRequest BodyResponse Body
1create a fieldACT/fieldPOST
FieldCreateField
2retrieve a fieldACT/field/{fieldId}GET

Field

Template (Phase 2)

A template contains a list of default fields the ACT wants to have on certain data access request form. When a member of the ACT creates a form on a dataset, they will create the form from an existing template. Once a template is created, it cannot be updated.

Template
String id
String name
String createdBy
Long createdOn
List<Field> fields
TemplateCreate
String name
List<Field> fields

Services to create and retrieve a template:


ActionIntended UserURIMethodRequest ParamsRequest BodyResponse Body
3create a templateACT/templatePOST
TemplateCreateTemplate
4retrieve a templateACT/template/{templateId}GET

Template

Form

A form is created by an ACT member for a particular AccessRequirement. It contains the list of information the ACT wants from data requestor. It has the ACT's instruction on how to fill out a request for the data under access requirement. 

Questions:

  • Are there multiple versions of a form for a single accessRequirement?
  • Does form ties to accessRequirement?
  • Once a form is created for an accessRequirement/ data set, is there a need to update it?
Form
String id
Long accessRequirementId
String name
String createdBy
Long createdOn
List<Field> fields
String instructions
FormCreate
Long accessRequirementId
String name
List<Field> fields
String instructions

Services to create and retrieve a form:


ActionIntended UserURIMethodRequest ParamsRequest BodyResponse Body
5create a formACT/formPOST
FormCreateForm
6retrieve a formACT/form/{formId}GET

Form

DataAccessRequest

A DataAccessRequest is submitted by a data requestor to request access to a particular dataset. 

StringValue
String filedId
String value
LongValue
String filedId
Long value
UserValue
String fieldId
String userId
Boolean validationRequired
DataAccessRequest
String requestorId
List<String> accessorIdList
String formId
Long accessRequirementId
String researchStatement
List<Value> values
DataAccessRequestResult
String id
String requestorId
List<String> accessorIdList
String formId
Long accessRequirementId
Long createdOn
String researchStatement
List<Value> values
DataAccessRequestStatus status (SUBMITTED, APPROVED, REJECTED, EXPIRED)
String reason
Long modifiedOn
String modifiedBy
Long expiredOn
DataAccessRequestList
List<DataAccessRequestResult> results
Long numberOfResults
ChangeDataAccessRequest
String dataAccessRequestId
DataAccessRequestStatus status
String reason
String modifiedBy


Services to create request and granting access:


ActionIntended UserURIMethodRequest ParamsRequest BodyResponse Body
7create a requestany Synapse User/dataAccessRequestPOST
DataAccessRequestDataAccessRequestResult
8retrieve requests for accessRequirementIdACT/dataAccessRequestsGETaccessRequirementIds, limit (max 20), offset, filter (SUBMITTED, APPROVED, REJECTED, EXPIRED)
DataAccessRequestList
9delete a requestrequestor/dataAccessRequest/{dataAccessRequestId}DELETE


10change request statusACT/dataAccessRequest/{dataAccessRequestId}PUT
ChangeDataAccessRequest

Question:

  • What actions are required to validate a request?
  • Which fields are need to lookup, sorted

Notification


ConditionTarget UserNotes
1After a new request is createdACT memberIncludes link to a page that manages the dataset's access requests
2After a request is grantedRequestor
3After a request is rejectedRequestor

Includes reason

Includes link to create a new request from the rejected one

4One month before request expiresRequestorInclude links to update request
5After request expiresRequestor




  • No labels