[
https://issues.apache.org/jira/browse/AIRFLOW-3787?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16756620#comment-16756620
]
ASF subversion and git services commented on AIRFLOW-3787:
----------------------------------------------------------
Commit cd4c61a2de8726e7473fac1758875b0c263ae3eb in airflow's branch
refs/heads/master from Andrew Stahlman
[ https://gitbox.apache.org/repos/asf?p=airflow.git;h=cd4c61a ]
[AIRFLOW-3787] Import/export users from JSON file (#4624)
* [AIRFLOW-3787] Import/export users from JSON file
Provide a CLI command to import or export users from a JSON file. The
CLI arguments are modeled after the import/export commands for Variables
and Pools.
Example Usage:
airflow users -i users.json
airflow users -e /tmp/exported-users.json
The import command will create any users that do not yet exist and
update any users that already exist. It never deletes users.
The format of the file produced by an export is compatible with the
import command, i.e., `import(export())` should succeed but have no
side-effects.
* Add input file format to help text
> Ability to import users from JSON file
> --------------------------------------
>
> Key: AIRFLOW-3787
> URL: https://issues.apache.org/jira/browse/AIRFLOW-3787
> Project: Apache Airflow
> Issue Type: Improvement
> Reporter: Andrew Stahlman
> Priority: Major
>
> User story: as a cluster admin, I want to import users from a configuration
> file.
> The {{airflow pools}} command supports the {{-i}} option to import pool
> configuration from a JSON file. This makes it easy to keep such configuration
> in source control in a .json file and apply it programmatically via the CLI.
> It'd be great if {{airflow users}} provided a similar option.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)