dpgaspar / Flask-AppBuilder

Simple and rapid application development framework, built on top of Flask. includes detailed security, auto CRUD generation for your models, google charts and much more. Demo (login with guest/welcome) - http://flaskappbuilder.pythonanywhere.com/
BSD 3-Clause "New" or "Revised" License
4.63k stars 1.35k forks source link

Cannot use anonymous user with LDAP #2183

Open ImmortalLotus opened 7 months ago

ImmortalLotus commented 7 months ago

Environment

Flask-Appbuilder version: Apache Superset 3.1.0

pip freeze output: Apache Superset 3.1.0

Describe the expected results

AUTH_ROLE_PUBLIC should still enable public, login-less access when LDAP is enabled. This is even when public role has permissions as follows, which on an AUTH_DB config work just fine for public access: image

Describe the actual results

with LDAP it blocks ALL access to application unless logged.

Steps to reproduce

Use an LDAP config Try to access application without login Get redirected to login page.