Use vue router navigation guards to prevent accessing caldav and TOTP settings when they are disabled #393

Open
opened 2026-02-27 15:02:39 -05:00 by deekerman · 0 comments
Owner

Originally created by @vikunja-bot on GitHub (Apr 1, 2025).

Original issue by @kolaente on 2021-10-26T20:18:02.000Z

Follow-Up for #889 and related to #899.

It should not be possible to access the caldav or totp setting routes when they are disabled server side. The problem here is these depend on a call to /api/v1/info which populates the server settings in local state. The check needs to happen after that.

Original issue on Gitea


dpschen commented on 2021-11-26T13:23:21.000Z:

This is possible with navigation guards

Originally created by @vikunja-bot on GitHub (Apr 1, 2025). _Original issue by @kolaente on 2021-10-26T20:18:02.000Z_ Follow-Up for #889 and related to #899. It should not be possible to access the caldav or totp setting routes when they are disabled server side. The problem here is these depend on a call to `/api/v1/info` which populates the server settings in local state. The check needs to happen after that. [Original issue on Gitea](https://kolaente.dev/vikunja/vikunja/issues/1851) --- _**dpschen** commented on 2021-11-26T13:23:21.000Z_: This is possible with navigation guards
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/vikunja-go-vikunja#393
No description provided.