semantics
This commit is contained in:
@@ -4,11 +4,11 @@
|
||||
<!--
|
||||
@SEMANTICS: auth, route-guard, permission, redirect, session-validation
|
||||
@PURPOSE: Enforces authenticated and authorized access before protected route content is rendered.
|
||||
@LAYER: UI
|
||||
@RELATION: [BINDS_TO] ->[authStore]
|
||||
@RELATION: [CALLS] ->[goto]
|
||||
@RELATION: [DEPENDS_ON] ->[Permissions]
|
||||
@RELATION: [CALLS] ->[fetchApi]
|
||||
@LAYER UI
|
||||
@RELATION BINDS_TO ->[EXT:frontend:authStore]
|
||||
@RELATION CALLS ->[EXT:frontend:goto]
|
||||
@RELATION DEPENDS_ON ->[EXT:internal:Permissions]
|
||||
@RELATION CALLS ->[EXT:frontend:fetchApi]
|
||||
@INVARIANT: Unauthenticated users are redirected to /login, unauthorized users are redirected to fallbackPath, and protected slot renders only when access is verified.
|
||||
@UX_STATE: Idle -> Component mounted, verification not yet started.
|
||||
@UX_STATE: Loading -> Spinner is rendered while auth/session/permission validation is in progress.
|
||||
|
||||
Reference in New Issue
Block a user