/** * Parse the authentication settings for the authenticated user */ 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); } } } }