def METHOD_NAME(self):
    original_uri = self.request.META.get("HTTP_X_ORIGINAL_URI")
    if not original_uri:
        return
    original_uri_first_elem = original_uri.strip("/").split("/")[0]
    for link in zentral_settings.get('extra_links', []):
        authorized_groups = link.get("authorized_groups")
        if not authorized_groups:
            continue
        url = link.get("url")
        if not url:
            continue
        if url.startswith("http") or url.startswith("//"):
            continue
        url_first_elem = url.strip("/").split("/")[0]
        if url_first_elem == original_uri_first_elem:
            return authorized_groups