You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@superset.apache.org by GitBox <gi...@apache.org> on 2020/07/14 04:27:35 UTC

[GitHub] [incubator-superset] pokyu opened a new issue #10308: Can't open the "Security -> List Users" page ,When config the auth_ldap

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:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org


[GitHub] [incubator-superset] stale[bot] commented on issue #10308: Can't open the "Security -> List Users" page ,When config the auth_ldap

Posted by GitBox <gi...@apache.org>.
stale[bot] commented on issue #10308:
URL: https://github.com/apache/incubator-superset/issues/10308#issuecomment-691521833


   This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. For admin, please label this issue `.pinned` to prevent stale bot from closing the issue.
   


----------------------------------------------------------------
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:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org


[GitHub] [incubator-superset] dpgaspar commented on issue #10308: Can't open the "Security -> List Users" page ,When config the auth_ldap

Posted by GitBox <gi...@apache.org>.
dpgaspar commented on issue #10308:
URL: https://github.com/apache/incubator-superset/issues/10308#issuecomment-658288364


   Hi, thank you for reporting this. A fix (#10310) just got merged on master that may be related to this. Can you update and run `superset init` then try again?


----------------------------------------------------------------
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:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org


[GitHub] [incubator-superset] stale[bot] commented on issue #10308: Can't open the "Security -> List Users" page ,When config the auth_ldap

Posted by GitBox <gi...@apache.org>.
stale[bot] commented on issue #10308:
URL: https://github.com/apache/incubator-superset/issues/10308#issuecomment-691521833






----------------------------------------------------------------
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:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org


[GitHub] [incubator-superset] stale[bot] closed issue #10308: Can't open the "Security -> List Users" page ,When config the auth_ldap

Posted by GitBox <gi...@apache.org>.
stale[bot] closed issue #10308:
URL: https://github.com/apache/incubator-superset/issues/10308


   


----------------------------------------------------------------
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:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org


[GitHub] [incubator-superset] issue-label-bot[bot] commented on issue #10308: Can't open the "Security -> List Users" page ,When config the auth_ldap

Posted by GitBox <gi...@apache.org>.
issue-label-bot[bot] commented on issue #10308:
URL: https://github.com/apache/incubator-superset/issues/10308#issuecomment-657958929


   Issue-Label Bot is automatically applying the label `#bug` to this issue, with a confidence of 0.84. Please mark this comment with :thumbsup: or :thumbsdown: to give our bot feedback! 
   
    Links: [app homepage](https://github.com/marketplace/issue-label-bot), [dashboard](https://mlbot.net/data/apache/incubator-superset) and [code](https://github.com/hamelsmu/MLapp) for this bot.


----------------------------------------------------------------
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:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org