Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Reputation Oracle] NDA #3132

Open
wants to merge 5 commits into
base: develop
Choose a base branch
from
Open

[Reputation Oracle] NDA #3132

wants to merge 5 commits into from

Conversation

flopez7
Copy link
Contributor

@flopez7 flopez7 commented Feb 27, 2025

Issue tracking

#3105

Context behind the change

add NDA module and related functionality

How has this been tested?

Launched locally.
Created one new user.
Signed the NDA

Release plan

Add NDA_URL in Reputation Oracle environment

Potential risks; What to monitor; Rollback plan

None

Copy link

vercel bot commented Feb 27, 2025

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
human-app ✅ Ready (Inspect) Visit Preview 💬 Add feedback Mar 4, 2025 0:25am
human-dashboard-frontend ✅ Ready (Inspect) Visit Preview 💬 Add feedback Mar 4, 2025 0:25am
staking-dashboard ✅ Ready (Inspect) Visit Preview 💬 Add feedback Mar 4, 2025 0:25am
2 Skipped Deployments
Name Status Preview Comments Updated (UTC)
faucet-frontend ⬜️ Ignored (Inspect) Visit Preview Mar 4, 2025 0:25am
faucet-server ⬜️ Ignored (Inspect) Visit Preview Mar 4, 2025 0:25am

@Dzeranov
Copy link
Contributor

@flopez7 please, rebase develop branch to resolve conflicts.

Copy link
Contributor

@dnechay dnechay left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good in general

Left some suggestions

@flopez7 flopez7 requested review from dnechay, Dzeranov and portuu3 March 4, 2025 10:47
portuu3
portuu3 previously approved these changes Mar 4, 2025
* feat: add NDA module with service, controller, and related functionality

* feat: add HTTP status code to signNDA endpoint and update tests to use ndaServiceMock

* Move user within the signNDA tests as it is not being modified
portuu3
portuu3 previously approved these changes Mar 4, 2025
Copy link
Collaborator

@portuu3 portuu3 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We need to verify that the nda is signed to allow accessing to oracles and jobs

@portuu3 portuu3 self-requested a review March 4, 2025 11:15
@Dzeranov
Copy link
Contributor

Dzeranov commented Mar 4, 2025

@portuu3 I think that it should be done together with the frontend implementation. However, we can implement this with a feature flag on human app server.

Copy link
Contributor

@dnechay dnechay left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm


describe('signNDA', () => {
let user: Pick<UserEntity, 'id' | 'email' | 'ndaSignedUrl'>;
beforeEach(async () => {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
beforeEach(async () => {
beforeEach(() => {

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.

4 participants