public function allowedActions($limitToClass = null)
    {
        $actions = parent::allowedActions($limitToClass);
        $defaultMapping = $this->stat('allowed_actions');
        $siteConfig = SiteConfig::current_site_config();
        foreach ($defaultMapping as $map) {
            $key = ucfirst($map . 'Action');
            if ($siteConfig->$key) {
                self::$allowed_actions[] = $siteConfig->$key;
            }
        }
        if (is_array($actions)) {
            return array_merge($actions, self::$allowed_actions);
        }

        return self::$allowed_actions;
    }