New AdminLayoutReviewView.vue (/admin/layouts), rendered by App.vue outside the normal authStore-gated shell entirely - a PocketBase superuser is never a `users` record. Its own inline login against pbAdmin's `_superusers` collection; lists every private mapping across every owner (a superuser session bypasses collection rules); each row expands into a read-only SourceDocumentPanel inspection (reusing L.7's labeled-strip pattern) plus an Approve action that promotes straight to shared, independent of the two-user confirmation hook. adminLayoutsService.js gains getSourceDocument()/sourceFileUrl(), both routed through pbAdmin since the mapping's sourceDocument belongs to its owner, not the superuser. Verified end to end against the real running stack (15 assertions via the actual service files, not reimplementations): a fresh app user's private mapping is visible to and approvable by the real superuser, its source file round-trips byte-for-byte, and a completely independent third-party user immediately resolves the now-shared mapping via findByFingerprintHash. npm run build passes; app container rebuilt. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| .vscode | ||
| public | ||
| src | ||
| .gitignore | ||
| README.md | ||
| index.html | ||
| package-lock.json | ||
| package.json | ||
| vite.config.js | ||
README.md
Vue 3 + Vite
This template should help get you started developing with Vue 3 in Vite. The template uses Vue 3 <script setup> SFCs, check out the script setup docs to learn more.
Learn more about IDE Support for Vue in the Vue Docs Scaling up Guide.