CLOUDSTACK-2405. DOC. Changing ownership of a VM from one account to another in any domain. (cherry picked from commit 0d8ce418c54047bcbbd300c1445b4ddf338f81c2)
Signed-off-by: animesh <anim...@apache.org> Project: http://git-wip-us.apache.org/repos/asf/cloudstack/repo Commit: http://git-wip-us.apache.org/repos/asf/cloudstack/commit/f77b957e Tree: http://git-wip-us.apache.org/repos/asf/cloudstack/tree/f77b957e Diff: http://git-wip-us.apache.org/repos/asf/cloudstack/diff/f77b957e Branch: refs/heads/4.2 Commit: f77b957e8a0664060530a163cfce5d7e7600b274 Parents: 80376a4 Author: Jessica <jessica.tomec...@citrix.com> Authored: Wed Aug 28 10:07:10 2013 -0700 Committer: animesh <anim...@apache.org> Committed: Wed Aug 28 22:13:25 2013 -0700 ---------------------------------------------------------------------- .../cloudstack/api/command/admin/vm/AssignVMCmd.java | 2 +- docs/en-US/accounts-users-domains.xml | 14 +++++++------- 2 files changed, 8 insertions(+), 8 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/cloudstack/blob/f77b957e/api/src/org/apache/cloudstack/api/command/admin/vm/AssignVMCmd.java ---------------------------------------------------------------------- diff --git a/api/src/org/apache/cloudstack/api/command/admin/vm/AssignVMCmd.java b/api/src/org/apache/cloudstack/api/command/admin/vm/AssignVMCmd.java index 152dd4e..2a60e19 100644 --- a/api/src/org/apache/cloudstack/api/command/admin/vm/AssignVMCmd.java +++ b/api/src/org/apache/cloudstack/api/command/admin/vm/AssignVMCmd.java @@ -35,7 +35,7 @@ import org.apache.log4j.Logger; import com.cloud.user.Account; import com.cloud.uservm.UserVm; -@APICommand(name = "assignVirtualMachine", description="Assign a VM from one account to another under the same domain. This API is available for Basic zones with security groups and Advance zones with guest networks. The VM is restricted to move between accounts under same domain.", responseObject=UserVmResponse.class, since="3.0.0") +@APICommand(name = "assignVirtualMachine", description="Change ownership of a VM from one account to another. This API is available for Basic zones with security groups and Advanced zones with guest networks. A root administrator can reassign a VM from any account to any other account in any domain. A domain administrator can reassign a VM to any account in the same domain.", responseObject=UserVmResponse.class, since="3.0.0") public class AssignVMCmd extends BaseCmd { public static final Logger s_logger = Logger.getLogger(AssignVMCmd.class.getName()); http://git-wip-us.apache.org/repos/asf/cloudstack/blob/f77b957e/docs/en-US/accounts-users-domains.xml ---------------------------------------------------------------------- diff --git a/docs/en-US/accounts-users-domains.xml b/docs/en-US/accounts-users-domains.xml index e8b08a7..3accbbe 100644 --- a/docs/en-US/accounts-users-domains.xml +++ b/docs/en-US/accounts-users-domains.xml @@ -49,13 +49,13 @@ <formalpara> <title>Resource Ownership</title> <para>Resources belong to the account, not individual users in that account. For example, - billing, resource limits, and so on are maintained by the account, not the users. A user can - operate on any resource in the account provided the user has privileges for that operation. - The privileges are determined by the role. - A root administrator can change the ownership of any virtual machine, network, - data disk, snapshot, template, or ISO from one account to any other account. A domain or - sub-domain administrator can do the same for items within the domain from one account to - any other account in the domain.</para> + billing, resource limits, and so on are maintained by the account, not the users. A user + can operate on any resource in the account provided the user has privileges for that + operation. The privileges are determined by the role. A root administrator can change + the ownership of any virtual machine from one account to any other account by using the + assignVirtualMachine API. A domain or sub-domain administrator can do the same for VMs + within the domain from one account to any other account in the domain or any of its + sub-domains.</para> </formalpara> <section id="dedicated-host-cluster-pod"> <title>Dedicating Resources to Accounts and Domains</title>