You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cloudstack.apache.org by gi...@git.apache.org on 2017/08/10 16:29:49 UTC
[GitHub] GabrielBrascher commented on issue #2222: CLOUDSTACK-10022: Allow domain admin to create and delete subdomains
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:
users@infra.apache.org
With regards,
Apache Git Services