public static function hasAccessUrl($url) {
        $user = common_session_SessionManager::getSession()->getUser();
        try {
            $resolver  = new ActionResolver($url);
            return AclProxy::hasAccess($user, $resolver->getController(), $resolver->getAction(), array());
            $className = $resolver->getController();
        } catch (ResolverException $e) {
            return false;
        }
    }