niumy0701 commented on issue #15925: URL: https://github.com/apache/dolphinscheduler/issues/15925#issuecomment-3511122706
> > > [@niumy0701](https://github.com/niumy0701) Can we only add a status in User to mark the user is deleted? It's hard to real delete the user, since we need to change a lot of data, e.g. create_user, update_user. > > > > > > [@ruanwenjun](https://github.com/ruanwenjun) Equivalent to logically deleting a user, how to transfer the projects associated with the user to others for better handling > > If we don't really delete the user in DB, then we only need to consider how to change the important resource owner, we can ignore some instance create_user/owner/executor. Yes, as mentioned in the first solution, it is necessary for users to modify the permission verification association table t_ds_project t_ds_relation_project_user t_ds_datasource t_ds_relation_datasource_user t_ds_k8s_namespace t_ds_relation_namespace_user If considering table data consistency, other tables also need to be modified, but it is not necessary -- 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. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
