dashboard: explicitly land on dashboard

The login redirects to index.php, but the ACL doesn't know about `/',
which is unfortunate because otherwise we can't land on the dashbard
anymore even though we have the rights.

While there, consolidate the ACL description for the dashbard.  It was
status, not system, but now it is lobby anyway...
This commit is contained in:
Franco Fichtner 2015-04-25 11:57:54 +02:00
parent bcd2ee0842
commit 955321a7db
2 changed files with 3 additions and 3 deletions

View File

@ -467,8 +467,8 @@ $priv_list['page-xmlrpcinterfacestats']['match'] = array();
$priv_list['page-xmlrpcinterfacestats']['match'][] = "ifstats.php*";
$priv_list['page-system-login/logout'] = array();
$priv_list['page-system-login/logout']['name'] = gettext("WebCfg - System: Login / Logout page / Dashboard");
$priv_list['page-system-login/logout']['descr'] = gettext("Allow access to the 'System: Login / Logout' page and Dashboard.");
$priv_list['page-system-login/logout']['name'] = gettext("WebCfg - Lobby: Login / Logout / Dashboard page");
$priv_list['page-system-login/logout']['descr'] = gettext("Allow access to the 'Lobby: Login / Logout/ Dashboard' page.");
$priv_list['page-system-login/logout']['match'] = array();
$priv_list['page-system-login/logout']['match'][] = "index.php*";

View File

@ -296,7 +296,7 @@ $pgtitle_output = true;
<div class="container-fluid">
<div class="navbar-header">
<a class="navbar-brand" href="/">
<a class="navbar-brand" href="/index.php">
<img class="brand-logo" src="/themes/<?=$g['theme'];?>/assets/images/default-logo.png" height="30" width="150"/>
<img class="brand-icon" src="/themes/<?=$g['theme'];?>/assets/images/icon-logo.png" height="30" width="29"/>
</a>