DaanHoogland commented on PR #14529: URL: https://github.com/apache/cloudstack/pull/14529#issuecomment-7383450843
@HawkForge thanks for this, and for the clear write-up on #14428. Both PRs fix #14174 the same way, so we should only merge one. I'm going ahead with #14510: it looks up the caller's role in the project that owns the template, with the user-level project role taking precedence over the account-level one, instead of going through `ProjectManager.canModifyProjectAccount()`. I took two things from your PR into #14510: evaluating the project check only for callers who are neither admin nor owner, and your tests that the owner and admin paths don't consult the project role. You're credited as co-author on that commit. I'm closing this one as a duplicate; a review on #14510 would be very welcome. -- 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]
