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

refactor(app): Separate org secrets #737

Merged
merged 6 commits into from
Jan 12, 2025
Merged

Conversation

daryllimyt
Copy link
Contributor

@daryllimyt daryllimyt commented Jan 12, 2025

Motivation

Separate out org secrets service methods and routers from workspace secrets. Note that they are currently stored in separate tables.

It's better security wise to keep these separate and prevents careless mistakes.

Changes

  • Remove overloads from secrets service methods
  • Remove SecretLevel
  • Separate org secrets methods in secrets service
  • Separate org secrets routers
  • Use separate RoleACL for ws/org secret routers

Testing

Regular secrets usage works
Push/pull repos works

@daryllimyt daryllimyt changed the title refactor(app): Cleanup org secrets refactor(app): Separate org secrets Jan 12, 2025
@daryllimyt daryllimyt added enhancement New feature or request refactor Refactoring security Security related issue internal Internal changes api Improvements or additions to the backend API and removed enhancement New feature or request labels Jan 12, 2025
@daryllimyt daryllimyt merged commit 2dc76fc into main Jan 12, 2025
9 checks passed
@daryllimyt daryllimyt deleted the refactor/cleanup-secrets branch January 12, 2025 20:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
api Improvements or additions to the backend API internal Internal changes refactor Refactoring security Security related issue
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant