public function getAccessLevel($url = null)
    {
        if ($url === null) {
            $url = Wasabi::getCurrentUrlArray();
        }

        $path = guardian()->getPathFromUrl($url);

        if (!array_key_exists($path, $this->permissions)) {
            return 0;
        }

        return $this->permissions[$path];
    }