Add account deletion feature and privacy section

Implement a new endpoint for account deletion in AuthController, allowing users to permanently delete their accounts and associated data. Update AuthService to handle account deletion logic, including confirmation checks and data removal from the database. Enhance frontend with new views and components for account deletion and privacy information, including links in the side menu and profile view. Update mobile app to support account deletion and privacy sections, improving user experience and compliance with data protection standards.
This commit is contained in:
Torsten Schulz (local)
2026-05-15 11:20:08 +02:00
parent afd0d2935d
commit 328bc9e776
18 changed files with 720 additions and 9 deletions

View File

@@ -9,6 +9,8 @@ import Register from '../views/Register.vue'
import PasswordForgot from '../views/PasswordForgot.vue'
import PasswordReset from '../views/PasswordReset.vue'
import OAuthCallback from '../views/OAuthCallback.vue'
import AccountDeletion from '../views/AccountDeletion.vue'
import Privacy from '../views/Privacy.vue'
import WeekOverview from '../views/WeekOverview.vue'
import Timefix from '../views/Timefix.vue'
import Vacation from '../views/Vacation.vue'
@@ -57,6 +59,16 @@ const router = createRouter({
name: 'oauth-callback',
component: OAuthCallback
},
{
path: '/datenschutz',
name: 'privacy',
component: Privacy
},
{
path: '/account-loeschen',
name: 'account-deletion',
component: AccountDeletion
},
// Geschützte Routes
{
@@ -192,4 +204,3 @@ router.beforeEach(async (to, from, next) => {
})
export default router