I found similar discussion by dev team.[1] It seems sometimes requested to add permission to add sub-domain/account/user for domains. And it already reported on JIRA.[2]
[1]h ttp://markmail.org/message/ucxsapyannat2z6b [2] https://issues.apache.org/jira/browse/CLOUDSTACK-4830 On Wed, Oct 9, 2013 at 8:07 PM, Rafael Weingartner < rafaelweingart...@gmail.com> wrote: > I am using CS 4.1.1 and still domain admin cannot create user accounts. > > Thanks for the hint, I will do that, but I am curious. > > Have you seen a discussion or something like that about this?I mean it > would be simple to create a parameter to determine if domain admins can or > cannot add new user to the domain they are administrating. > > I think I will suggest that to the dev mailing list, it would be an > interesting feature. > > > 2013/10/9 Go Chiba <go.ch...@gmail.com> > > > Hi Rafael, > > > > On 4.2, domain admins cannot add new users or domains under his domain. > > If you want to enable permission to add new user, you could custom > > javascript as below. > > > > # vi /usr/share/cloudstack-management/webapps/client/scripts/accounts.js > > > > and modify permission check > > > > 65 actions: { > > 66 add: { > > 67 label: 'label.add.account', > > 68 preFilter: function(args) { > > 69 if (isAdmin() || isDomainAdmin()) > > # add permission for DomainAdmin > > 70 return true; > > 71 else > > 72 return false; > > 73 }, > > > > > > > > On Wed, Oct 9, 2013 at 11:57 AM, Rafael Weingartner < > > rafaelweingart...@gmail.com> wrote: > > > > > Hi all, > > > Is it possible for domain admins to add new users to the domain they > are > > > administrating? > > > > > > -- > > > Rafael Weingartner > > > > > > > > > > > -- > > 千葉 豪 Go Chiba > > E-mail:go.ch...@gmail.com > > > > > > -- > Rafael Weingartner > -- 千葉 豪 Go Chiba E-mail:go.ch...@gmail.com