You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Description
Workers should sign an NDA to protect requesters datasets
Motivation
Protect sensitive data and intellectual property from requesters dataset, ensuring compliance with data privacy laws.
Implementation details
Create NDAVersion Entity
Define an entity for NDA versions. This entity should include fields for the version identifier, document text, and creation date.
id: Primary key
version: String to represent the version of the NDA
documentText: Text of the NDA
createdAt: Timestamp of when the NDA version was created
updatedAt: Timestamp of when the NDA version was updated
Create NDA Entity
Define an entity for the NDA that users will sign. This entity should reference the NDAVersion entity.
id: Primary key
createdAt: Timestamp of when the NDA was signed
ipAddress: IP address of the user at the time of signing
userId: relationship with the User entity
ndaVersionId: relationship with the NDAVersion entity
Implement NDA Endpoints
Create these endpoints:
GET: /nda: for retrieving the last NDA version. If the user already signed it, return null. If it is not signed yet, return the nda version information. Use JWT auth
POST:/nda/sign: for signing NDA. Use JWT auth
Add NDA information to JWT
Add wheter NDA has been signed to the JWT payload as: "NDA": "true" or "false"
If the last NDA version is not the last signed by the user, set it to false
The text was updated successfully, but these errors were encountered:
Description
Workers should sign an NDA to protect requesters datasets
Motivation
Protect sensitive data and intellectual property from requesters dataset, ensuring compliance with data privacy laws.
Implementation details
Create NDAVersion Entity
Define an entity for NDA versions. This entity should include fields for the version identifier, document text, and creation date.
id: Primary key
version: String to represent the version of the NDA
documentText: Text of the NDA
createdAt: Timestamp of when the NDA version was created
updatedAt: Timestamp of when the NDA version was updated
Create NDA Entity
Define an entity for the NDA that users will sign. This entity should reference the NDAVersion entity.
id: Primary key
createdAt: Timestamp of when the NDA was signed
ipAddress: IP address of the user at the time of signing
userId: relationship with the User entity
ndaVersionId: relationship with the NDAVersion entity
Create these endpoints:
GET:
/nda
: for retrieving the last NDA version. If the user already signed it, return null. If it is not signed yet, return the nda version information. Use JWT authPOST:
/nda/sign
: for signing NDA. Use JWT authAdd wheter NDA has been signed to the JWT payload as:
"NDA": "true" or "false"
If the last NDA version is not the last signed by the user, set it to
false
The text was updated successfully, but these errors were encountered: