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

Open
opened 3 months ago by konrad · 1 comments
konrad commented 3 months ago
Owner

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.

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.
dpschen added the
changes requested
label 3 months ago
konrad added
area/internal-code
and removed
changes requested
labels 2 months ago
Collaborator

This is possible with navigation guards

This is possible with navigation guards
Sign in to join this conversation.
No Milestone
No Assignees
2 Participants
Notifications
Due Date

No due date set.

Dependencies

This issue currently doesn't have any dependencies.

Loading…
There is no content yet.