security: add RBAC, HTTPS enforcement; add tests and CI pytest step

This commit is contained in:
TLimoges33
2025-08-28 17:29:16 +00:00
parent a2b8950d9a
commit f0c61de280
16 changed files with 271 additions and 198 deletions
+6 -6
View File
@@ -1,12 +1,12 @@
// Minimal service worker (cache-first for shell)
const CACHE = 'liferpg-shell-v1'
self.addEventListener('install', (e) => {
e.waitUntil(
caches.open(CACHE).then((cache) => cache.addAll(['/','/index.html']))
)
e.waitUntil(
caches.open(CACHE).then((cache) => cache.addAll(['/', '/index.html']))
)
})
self.addEventListener('fetch', (e) => {
e.respondWith(
caches.match(e.request).then((r) => r || fetch(e.request))
)
e.respondWith(
caches.match(e.request).then((r) => r || fetch(e.request))
)
})