feat: roles SPA foundations

This commit is contained in:
Florian Sylvain committed 2026-10-27 22:21:12 +01:00
1 parent 80f7037d3a
commit 907949aa12
180 files changed
+4308 -835

No files matched your search

@@ -7,6 +7,7 @@ import { useSessionStore } from '@/stores/session'
import EndpointCard from '@/components/EndpointCard.vue'
import { DESKTOP_WIDTH, MOBILE_WIDTH, setViewportWidth } from '@/components/__tests__/viewport'
import IntegrationView from '../IntegrationView.vue'
import { ownerAccess } from '@/test/access'
const SEARCH_LABEL = 'Search the API reference'
const FLASH_MS = 1500
@@ -35,7 +36,7 @@ async function mountIntegration(width = DESKTOP_WIDTH, hash = '') {
})
setActivePinia(createPinia())
const session = useSessionStore()
session.session = { verified: true, username: 'marta' }
session.session = { verified: true, access: ownerAccess(), username: 'marta' }
session.status = 'ready'
await router.push(`/integration${hash}`)
const wrapper = mount(IntegrationView, {