GabrielBrascher commented on issue #2222: CLOUDSTACK-10022: Allow domain admin to create and delete subdomains URL: https://github.com/apache/cloudstack/pull/2222#issuecomment-321603878 Hi @wido It was added the permission to execute the api commands that delete domains to the domain admin role; thus, it can delete its own domain with the API command "deteDomain". However, the following code does allow the domain admin to use the UI buttons to edit and delete only its subdomains. ``` if (args.context.domains[0].id != g_domainid) { allowedActions.push("edit"); //merge updateResourceLimit into edit allowedActions.push("delete"); } ``` ---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org
With regards, Apache Git Services