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/09/22 04:19:56 UTC

[GitHub] [incubator-superset] FrankScarlet commented on issue #10992: Is there any way to manage(add) users at a large scale?

FrankScarlet commented on issue #10992:
URL: https://github.com/apache/incubator-superset/issues/10992#issuecomment-696500392


   > @FrankScarlet why don't you just write a script that calls `flask fab create-user`? You can pass flags instead of following the prompts, eg
   > 
   > ```shell
   > flask fab create-user --role Public --username user1 --firstname name1 --lastname name2 --email user@example.com --password cool-password
   > ```
   
   Thanks a lot. I tried `superset fab create-user`. But I thought it only works in an interactive style.
   With your answer I can come up with a script to achieve my goal. 
   
   I am still thinking about possible problems in users management. So I won't close this issue immediately


----------------------------------------------------------------
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