Repo Interface für tests
This commit is contained in:
@@ -193,7 +193,13 @@ if (Router::getTemplateView()) {
|
||||
if (!is_array($layoutAuth)) {
|
||||
$actorUserId = (int) (($_SESSION['user']['id'] ?? 0));
|
||||
$viewAuth['layout'] = app(UiAccessService::class)->layoutCapabilities($actorUserId);
|
||||
$layoutAuth = $viewAuth['layout'];
|
||||
}
|
||||
$layoutNav = appBuildLayoutNavContext(
|
||||
is_array($layoutAuth) ? $layoutAuth : [],
|
||||
is_array($_SESSION ?? null) ? $_SESSION : [],
|
||||
requestInput()->queryAll()
|
||||
);
|
||||
}
|
||||
|
||||
// End the session
|
||||
|
||||
Reference in New Issue
Block a user