From 4cd68206baef54683c836f4ecbc7c17e19c71790 Mon Sep 17 00:00:00 2001 From: Landry Breuil Date: Thu, 21 Aug 2025 10:55:55 +0200 Subject: [PATCH] call parent constructor in GeorchestraRemoteUserView's constructor (fixes #18) otherwise, class_permission_name and base_permissions are None, which blows when superset init is run --- config/superset/GeorchestraCustomizations.py | 1 + 1 file changed, 1 insertion(+) diff --git a/config/superset/GeorchestraCustomizations.py b/config/superset/GeorchestraCustomizations.py index 5b49ee5..501b64c 100644 --- a/config/superset/GeorchestraCustomizations.py +++ b/config/superset/GeorchestraCustomizations.py @@ -34,6 +34,7 @@ class GeorchestraRemoteUserView(AuthRemoteUserView): login_template = '' def __init__(self): + super().__init__() self.LOGIN_REDIRECT_URL = appbuilder.app.config.get("LOGIN_REDIRECT_URL", "") self.LOGOUT_REDIRECT_URL = appbuilder.app.config.get("LOGOUT_REDIRECT_URL", "")