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

Add ownership to templates and ranges + Implement auth endpoints #56

Merged
merged 71 commits into from
Mar 8, 2025

Conversation

Adamkadaban
Copy link
Member

@Adamkadaban Adamkadaban commented Feb 26, 2025

Checklist

  • I have added a version label to my PR (e.g., patch, minor, major).
  • I have tested my changes locally and verified they work as expected.
  • I have added relevant tests to cover my changes.
  • I have made any necessary updates to the documentation.

Description

  • Add user models and schemas
  • Add cloud secret models and schemas
  • Add concept of ownership to templates and deployed ranges
  • Add login and register endpoints
  • Change all template tests to be authenticated
  • Add unit tests for login and register endpoints
  • Allow admin to read/deploy anything
  • Add endpoints for reading user info
  • Add endpoints for checking user secrets
  • Add endpoints for adding secrets to DB
  • Encrypt secrets (See Allow for user signup and secure storage of user secrets in DB #26 (comment))

Fixes:
#26
#14
#43

@Adamkadaban Adamkadaban added the minor Increment the minor version when merged label Feb 26, 2025
Copy link
Member

@Nareshp1 Nareshp1 left a comment

Choose a reason for hiding this comment

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

See comments I left.

@Adamkadaban Adamkadaban requested a review from Nareshp1 March 7, 2025 14:32
@alexchristy
Copy link
Member

I also want to say awesome work getting the authentication setup for the application. The secure encryption of the secrets it really cool but also will save us so many headaches in the future.

@Adamkadaban Adamkadaban requested a review from alexchristy March 8, 2025 16:38
@Adamkadaban Adamkadaban force-pushed the adam-auth-2 branch 2 times, most recently from 978ed73 to da98a01 Compare March 8, 2025 21:29
Copy link
Member

@Nareshp1 Nareshp1 left a comment

Choose a reason for hiding this comment

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

LGTM

Copy link
Member

@alexchristy alexchristy 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 here!

@Adamkadaban Adamkadaban merged commit 906a1de into main Mar 8, 2025
6 checks passed
@Adamkadaban Adamkadaban deleted the adam-auth-2 branch March 11, 2025 01:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
minor Increment the minor version when merged
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants