Skip to content

fix airflow users delete CLI command - #31539

Merged
hussein-awala merged 2 commits into
apache:mainfrom
hussein-awala:fix/cli
May 25, 2023
Merged

hussein-awala merged 2 commits into
apache:mainfrom
hussein-awala:fix/cli

Conversation

@hussein-awala

Copy link
Copy Markdown
Member

closes: #31509

Similar to what we have in the users API endpoint (code), to avoid violating foreign key constraint ab_user_role_user_id_fkey on table ab_user_role.


^ Add meaningful description above

Read the Pull Request Guidelines for more information.
In case of fundamental code changes, an Airflow Improvement Proposal (AIP) is needed.
In case of a new dependency, check compliance with the ASF 3rd Party License Policy.
In case of backwards incompatible changes please leave a note in a newsfragment file, named {pr_number}.significant.rst or {issue_number}.significant.rst, in newsfragments.

@hussein-awala hussein-awala added the type:bug-fix Changelog: Bug Fixes label May 25, 2023
@hussein-awala hussein-awala added this to the Airflow 2.6.2 milestone May 25, 2023
Comment thread airflow/cli/commands/user_command.py Outdated
@hussein-awala
hussein-awala merged commit 3ec66bb into apache:main May 25, 2023
eladkal pushed a commit that referenced this pull request Jun 8, 2023
* fix airflow users delete CLI command

* replace setting to empty list by clear method

(cherry picked from commit 3ec66bb)
eladkal pushed a commit that referenced this pull request Jun 9, 2023
* fix airflow users delete CLI command

* replace setting to empty list by clear method

(cherry picked from commit 3ec66bb)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area:CLI type:bug-fix Changelog: Bug Fixes

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Unable to delete user via CI

3 participants