Skip to content

[profile-actions] Tracking: Profile Actions #1063

@rubenvdlinde

Description

@rubenvdlinde

Profile Actions — Tracking Issue

Parent: #1004

This tracks implementation of self-service profile actions for OpenRegister users.

Backend Tasks

  • 1. Password change endpoint (PUT /api/user/me/password)
  • 2. Avatar upload endpoint (POST /api/user/me/avatar)
  • 3. Avatar delete endpoint (DELETE /api/user/me/avatar)
  • 4. Personal data export endpoint (GET /api/user/me/export)
  • 5. Get notification preferences endpoint (GET /api/user/me/notifications)
  • 6. Update notification preferences endpoint (PUT /api/user/me/notifications)
  • 7. Personal activity history endpoint (GET /api/user/me/activity)
  • 8. AuditTrailMapper findByActor method
  • 9. List API tokens endpoint (GET /api/user/me/tokens)
  • 10. Create API token endpoint (POST /api/user/me/tokens)
  • 11. Revoke API token endpoint (DELETE /api/user/me/tokens/{id})
  • 12. Request account deactivation endpoint (POST /api/user/me/deactivate)
  • 13. Get deactivation status endpoint (GET /api/user/me/deactivation-status)
  • 14. Cancel deactivation request endpoint (DELETE /api/user/me/deactivate)
  • 15. Register all new routes in routes.php
  • 16. Consistent error handling across all profile action endpoints

Frontend Tasks

  • 17. MyAccount.vue main page component
  • 18. PasswordSection.vue component
  • 19. AvatarSection.vue component
  • 20. NotificationsSection.vue component
  • 21. ActivitySection.vue component
  • 22. TokensSection.vue component
  • 23. AccountSection.vue component
  • 24. ExportSection.vue component
  • 25. Vue router registration

Test Tasks

  • 26. Unit tests for UserController profile action methods
  • 27. Unit tests for UserService profile action methods
  • 28. Integration test for password change flow (deferred: requires running NC instance)
  • 29. Integration test for data export (deferred: requires running NC instance)

Specs

  • Change: openspec/changes/profile-actions/
  • Spec: openspec/changes/profile-actions/specs/profile-actions/spec.md

Branch

  • feature/1004/profile-actions

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions