Backend\Core\Engine\TwigTemplate::parseAuthentication PHP Method

parseAuthentication() private method

Parse the authentication settings for the authenticated user
private parseAuthentication ( )
    private function parseAuthentication()
    {
        // loop actions and assign to template
        foreach (Authentication::getAllowedActions() as $module => $allowedActions) {
            foreach ($allowedActions as $action => $level) {
                if ($level == '7') {
                    $this->assign('show' . \SpoonFilter::toCamelCase($module, '_') . \SpoonFilter::toCamelCase($action, '_'), true);
                }
            }
        }
    }