GitHub user dosubot[bot] added a comment to the discussion: How to allow the 
deletion of users with associated objects

<!-- Answer -->
I wasn't able to find any specific configuration parameters in the 
`superset_config.py` file that directly control user deletion behavior or allow 
skipping checks for associated objects. The handling of user deletion and 
associated objects in Apache Superset is typically managed through database 
migration scripts using the `on_delete="CASCADE"` option in foreign key 
definitions 
<sup>[[1]](https://github.com/apache/superset/blob/master/superset/migrations/versions/2023-07-11_15-51_6d05b0a70c89_add_on_delete_cascade_for_owners_references.py)</sup><sup>[[2]](https://github.com/apache/superset/blob/master/superset/migrations/versions/2023-06-22_13-39_6fbe660cac39_add_on_delete_cascade_for_tables_references.py)</sup>.


<!-- Dosu Comment Footer -->
*To continue talking to [Dosu](https://dosu.dev), mention @dosu.*

---
<sup>Help Dosu learn! Give it feedback: [Great 
Response](https://app.dosu.dev/response-feedback/0a14e579-88d5-4c8a-9043-09befd973a80?feedback_type=great_response)
 | [Irrelevant 
Answer](https://app.dosu.dev/response-feedback/0a14e579-88d5-4c8a-9043-09befd973a80?feedback_type=irrelevant_answer)
 | [Incorrect 
Sources](https://app.dosu.dev/response-feedback/0a14e579-88d5-4c8a-9043-09befd973a80?feedback_type=incorrect_sources)
 | [Too 
Verbose](https://app.dosu.dev/response-feedback/0a14e579-88d5-4c8a-9043-09befd973a80?feedback_type=too_verbose)
 | 
[Hallucination](https://app.dosu.dev/response-feedback/0a14e579-88d5-4c8a-9043-09befd973a80?feedback_type=hallucination)
 | [Bug 
Report](https://app.dosu.dev/response-feedback/0a14e579-88d5-4c8a-9043-09befd973a80?feedback_type=bug_report)
 | 
[Other](https://app.dosu.dev/response-feedback/0a14e579-88d5-4c8a-9043-09befd973a80?feedback_type=other)</sup>


GitHub link: 
https://github.com/apache/superset/discussions/32807#discussioncomment-12590990

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