winterhazel commented on issue #9974:
URL: https://github.com/apache/cloudstack/issues/9974#issuecomment-2504390061

   We could make the `deleteUser` API remove the user from all projects before 
deleting it (as we already do with accounts). To normalize environments that 
are affected, we could insert a query into the upgrade script. Something like:
   
   ```sql
   delete from project_account where user_id in (select id from user where 
removed);
   ```


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

Reply via email to