DaanHoogland commented on issue #9477: URL: https://github.com/apache/cloudstack/issues/9477#issuecomment-2284280560
> Regarding the fix, I think we should allow linking of the userdata to the template only if both are created by that user. If we have to go with the fix of restricting the deletion of the user just because he/she created a userdata and linked to a template. @harikrishna-patnala , that doesn't sound right. Let's discuss the scenarios, as the one described by @shwstppr is certainly not the only one that pertains to this linkage of resources: - an account-user created a userdata entry - another account-user created a template - now several things may happen 1. the first user does the linking, or the second 2. the first user get deleted, or the second 3. the template gets deleted (while VMs are still running) though I am not sure of the latests guards against that. on the one hand, removing the link might be resulting in unexpected behaviour of the VMs/template. On the other hand, a delete with cleanup should work on the account (and thus the user). -- 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]
