Skip to content

refactor: remove elevation package and simplify secret access#324

Merged
jhrv merged 1 commit intomainfrom
cleanup-elevation
Jan 30, 2026
Merged

refactor: remove elevation package and simplify secret access#324
jhrv merged 1 commit intomainfrom
cleanup-elevation

Conversation

@jhrv
Copy link
Contributor

@jhrv jhrv commented Jan 30, 2026

Summary

Removes the elevation package and API, replacing it with the simpler viewSecretValues mutation.

Changes

  • Removed: internal/elevation/ package
  • Removed: createElevation mutation
  • Removed: elevations query on User
  • Removed: viewerCanElevate field on Team
  • Removed: values resolver on Secret
  • Kept: Historical activity log types (ElevationCreatedActivityLogEntry) moved to activitylog package

Breaking Changes

Clients must use viewSecretValues mutation instead of:

  1. createElevation + secret.values
  2. Checking viewerCanElevate

Console and CLI are already migrated.

@jhrv jhrv requested a review from a team as a code owner January 30, 2026 12:42
Co-authored-by: frodesundby <frode.sundby@nav.no>
@jhrv jhrv force-pushed the cleanup-elevation branch from bc394f4 to 722a6a5 Compare January 30, 2026 14:07
@jhrv jhrv merged commit 6905abe into main Jan 30, 2026
11 checks passed
@jhrv jhrv deleted the cleanup-elevation branch January 30, 2026 14:32
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