concrete/src/Application/Service/Dashboard.php
public function canRead()
    {
        $c = Page::getByPath('/dashboard', 'ACTIVE');
        if ($c && !$c->isError()) {
            $cp = new Permissions($c);

            return $cp->canViewPage();
        }
    }
public function canRead()
    {
        $c = Page::getByPath('/dashboard', 'ACTIVE');
        if ($c && !$c->isError()) {
            $cp = new Permissions($c);

            return $cp->canViewPage();
        }
    }
public function canRead ( ) { $ c = Page :: getByPath ( '/dashboard' , 'ACTIVE' ) ; if ( $ c && ! $ c -> isError ( ) ) { $ cp = new Permissions ( $ c ) ; return $ cp -> canViewPage ( ) ; } }
Checks to see if a user has access to the C5 dashboard.

@return bool
Checks to see if a user has access to the C5 dashboard .