pokyu opened a new issue #10308:
URL: https://github.com/apache/incubator-superset/issues/10308


   A clear and concise description of what the bug is.
   
   ### Expected results
   
   When config the auth_ldap  ,  ldap user can login,but the admin user can't 
open  the "Security -> List Users" page.
   Click the page ,it go to " **Dashboards   Recently Viewed   Favorites**"
   
   
   config.py :
   ```
   #AUTH_TYPE = AUTH_DB
   AUTH_TYPE = AUTH_LDAP
   #AUTH_LDAP_UID_FIELD = "uid"
   
   # Uncomment to setup Full admin role name
   AUTH_ROLE_ADMIN = 'Admin'
   
   # Uncomment to setup Public role name, no authentication needed
   # AUTH_ROLE_PUBLIC = 'Public'
   
   # Will allow user self registration
   AUTH_USER_REGISTRATION = True
   
   # The default user self registration role
   #AUTH_USER_REGISTRATION_ROLE = "Public"
   AUTH_USER_REGISTRATION_ROLE = "Admin"
   
   # When using LDAP Auth, setup the LDAP server
   AUTH_LDAP_SERVER = "ldap://ldap.nextop.cc";
   AUTH_LDAP_SEARCH = "dc=vantopgroup,dc=com"
   AUTH_LDAP_UID_FIELD = "cn"
   
   AUTH_LDAP_BIND_USER = "cn=user,ou=IT,dc=vantopgroup,dc=com"
   AUTH_LDAP_BIND_PASSWORD = "password"
   
   ```
   
   
   
   ### Actual results
   
   what actually happens.
   
   #### Screenshots
   
   If applicable, add screenshots to help explain your problem.
   
   #### How to reproduce the bug
   
   1. Go to '...'
   2. Click on '....'
   3. Scroll down to '....'
   4. See error
   
   ### Environment
   
   (please complete the following information):
   
   - superset version: `superset version`
   - python version: `python --version`
   - node.js version: `node -v`
   - npm version: `npm -v`
   
   ### Checklist
   
   Make sure these boxes are checked before submitting your issue - thank you!
   
   - [ ] I have checked the superset logs for python stacktraces and included 
it here as text if there are any.
   - [ ] I have reproduced the issue with at least the latest released version 
of superset.
   - [ ] I have checked the issue tracker for the same issue and I haven't 
found one similar.
   
   ### Additional context
   
   Add any other context about the problem here.
   


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[email protected]



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to