GitHub user beeritis added a comment to the discussion: cannot delete user 
"Associated data exists, please delete them first"

Airflow v2.6.0

Just had the same problem - following worked for me - 

```

delete  from dag_run_note where user_id='<userid>;
delete from ab_user_role where user_id='<userid>';
delete  from ab_user where username='<username>';
```

Not a fan of force deleting but this is a fundamental bug that needs fixing.


A basic feature to allow updating of a user password should be implemented as 
this was the only reason I needed to delete a user.



GitHub link: 
https://github.com/apache/superset/discussions/40137#discussioncomment-16924818

----
This is an automatically sent email for [email protected].
To unsubscribe, please send an email to: 
[email protected]


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

Reply via email to