Secure send: hand somebody a password without leaving it in a chat window

This commit is contained in:
2026-08-21 13:44:34 -04:00
parent 2719589c6e
commit 4242028270
23 changed files with 1290 additions and 1 deletions

View File

@@ -0,0 +1,35 @@
/**
* Securesend plugin routes.
*
* Auto-discovered by the router via import.meta.glob, so no registration
* edit is needed. Every route carries meta.plugin 'securesend' so the ADR-009
* guard redirects to the dashboard when the securesend backend plugin is
* disabled. Form routes add requiresAuth so anonymous users cannot reach
* create or edit.
*/
export default [
{
path: 'securesend',
name: 'securesend',
component: () => import('../../views/securesend/SecuresendList.vue'),
meta: { plugin: 'securesend' }
},
{
path: 'securesend/new',
name: 'securesend-new',
component: () => import('../../views/securesend/SecuresendForm.vue'),
meta: { requiresAuth: true, plugin: 'securesend' }
},
{
path: 'securesend/:id',
name: 'securesend-detail',
component: () => import('../../views/securesend/SecuresendDetail.vue'),
meta: { plugin: 'securesend' }
},
{
path: 'securesend/:id/edit',
name: 'securesend-edit',
component: () => import('../../views/securesend/SecuresendForm.vue'),
meta: { requiresAuth: true, plugin: 'securesend' }
}
]