tech-debt: Refactor initDB code and implement admin grant revocation #330

Open
opened 2026-05-31 14:30:07 +00:00 by jmiller · 0 comments
Owner

Summary

Database initialization code in CLI commands needs refactoring.

Locations

  • cmd/admin_user_create.go:138 - need to refactor the initDB related code later
  • routers/web/admin/applications.go:89 - revokes the grant with the given id (incomplete)

Action Required

Extract initDB into a shared utility. Implement grant revocation in admin applications.


Created by Claude Opus 4.6

## Summary Database initialization code in CLI commands needs refactoring. ## Locations - `cmd/admin_user_create.go:138` - need to refactor the initDB related code later - `routers/web/admin/applications.go:89` - revokes the grant with the given id (incomplete) ## Action Required Extract initDB into a shared utility. Implement grant revocation in admin applications. --- *Created by Claude Opus 4.6*
jmiller added the tech-debtupstream labels 2026-05-31 14:30:07 +00:00
Sign in to join this conversation.
No labels tech-debt upstream
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: MokoConsulting/MokoGitea#330