tech-debt: Refactor initDB code and implement admin grant revocation #330
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
Database initialization code in CLI commands needs refactoring.
Locations
cmd/admin_user_create.go:138- need to refactor the initDB related code laterrouters/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