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

[B-06293] zt_registration checks if registrant is authorized #73

Merged
merged 2 commits into from
Feb 27, 2024

Conversation

peeech
Copy link
Contributor

@peeech peeech commented Feb 27, 2024

zt_registration endpoint reads the content of registration request and checks in opsconsoledb.registrations db if user is in fact registered and authorized to access ZT network.

This PR:

  • adds check in db if user is authorized to register
  • splits KV auth-server-settings between one for devnet and one for alpha

NOTE:

  • before this code is merged to main we need to open API access to Production db and update mongodb_api_key in auth-server-settings KV store.

@peeech peeech requested a review from zo-el as a code owner February 27, 2024 04:14
@peeech peeech merged commit ef7eab5 into develop Feb 27, 2024
@peeech peeech deleted the zt-auth branch February 27, 2024 22:00
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.

2 participants