fix: finalize semantic repair and test updates
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
<!--[DEF:ProtectedRoute.svelte:Module] -->
|
||||
<!--[DEF:ProtectedRouteModule:Module] -->
|
||||
<!--
|
||||
@PRE: Default pre condition
|
||||
@DATA_CONTRACT: Default state data
|
||||
@@ -10,7 +10,7 @@
|
||||
@PURPOSE: Enforces authenticated and authorized access before protected route content is rendered.
|
||||
@LAYER: UI
|
||||
@RELATION: [BINDS_TO] ->[authStore]
|
||||
@RELATION: [CALLS] ->[Navigation]
|
||||
@RELATION: [CALLS] ->[goto]
|
||||
@RELATION: [DEPENDS_ON] ->[Permissions]
|
||||
@RELATION: [CALLS] ->[fetchApi]
|
||||
@INVARIANT: Unauthenticated users are redirected to /login, unauthorized users are redirected to fallbackPath, and protected slot renders only when access is verified.
|
||||
@@ -146,4 +146,4 @@
|
||||
{/if}
|
||||
|
||||
<!-- [/DEF:ProtectedRoute:Component] -->
|
||||
<!-- [/DEF:ProtectedRoute.svelte:Module] -->
|
||||
<!-- [/DEF:ProtectedRouteModule:Module] -->
|
||||
|
||||
Reference in New Issue
Block a user