Change 15+ methods: update, updateSubscriptionTier, deactivateUser, etc.
Update hardDeleteUser to query by UUID
Update listAllUsers cross-table joins
Acceptance Criteria
getByAuth0Sub works for auth plugin
All other methods accept UUID id parameter
hardDeleteUser deletes all user data correctly
listAllUsers joins work with UUID columns
Relates to #206
## Milestone 4: User profile repository refactor
Change user-profile.repository.ts methods from auth0Sub parameter to UUID id parameter. Keep getByAuth0Sub for auth plugin.
### Files
- `backend/src/features/user-profile/data/user-profile.repository.ts`
### Key Changes
- Keep getByAuth0Sub for auth plugin JWT resolution
- Add getById for UUID-based lookups
- Change 15+ methods: update, updateSubscriptionTier, deactivateUser, etc.
- Update hardDeleteUser to query by UUID
- Update listAllUsers cross-table joins
### Acceptance Criteria
- [ ] getByAuth0Sub works for auth plugin
- [ ] All other methods accept UUID id parameter
- [ ] hardDeleteUser deletes all user data correctly
- [ ] listAllUsers joins work with UUID columns
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Relates to #206
Milestone 4: User profile repository refactor
Change user-profile.repository.ts methods from auth0Sub parameter to UUID id parameter. Keep getByAuth0Sub for auth plugin.
Files
backend/src/features/user-profile/data/user-profile.repository.tsKey Changes
Acceptance Criteria