You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cloudstack.apache.org by "fmaximus (via GitHub)" <gi...@apache.org> on 2025/06/28 07:15:46 UTC
Re: [I] Default Admin user should not be allowed to change its ROLE type [cloudstack]
fmaximus commented on issue #10931:
URL: https://github.com/apache/cloudstack/issues/10931#issuecomment-3015049476
Server side already seems to block any changes to the system account.
https://github.com/apache/cloudstack/blob/16c60c7528a3ee731bceaa9113d5e6a76b22a246/server/src/main/java/com/cloud/user/AccountManagerImpl.java#L2266
So this would be UI improvements only to hide edit button:
https://github.com/apache/cloudstack/blob/16c60c7528a3ee731bceaa9113d5e6a76b22a246/ui/src/config/section/account.js#L125
By the way, shouldn't https://github.com/apache/cloudstack/blob/16c60c7528a3ee731bceaa9113d5e6a76b22a246/ui/src/config/section/account.js#L187
be calling lockAccount api instead of disableAccount.
--
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: commits-unsubscribe@cloudstack.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org