mirror of https://github.com/apache/cloudstack.git
extend clone disk and service offerings to domain admins
This commit is contained in:
parent
d53591c3fe
commit
77ff9e52cb
|
|
@ -16,6 +16,7 @@
|
|||
// under the License.
|
||||
package org.apache.cloudstack.api.command.admin.offering;
|
||||
|
||||
import org.apache.cloudstack.acl.RoleType;
|
||||
import org.apache.cloudstack.api.APICommand;
|
||||
import org.apache.cloudstack.api.ApiConstants;
|
||||
import org.apache.cloudstack.api.ApiErrorCode;
|
||||
|
|
@ -31,7 +32,8 @@ import com.cloud.offering.DiskOffering;
|
|||
responseObject = DiskOfferingResponse.class,
|
||||
requestHasSensitiveInfo = false,
|
||||
responseHasSensitiveInfo = false,
|
||||
since = "4.23.0")
|
||||
since = "4.23.0",
|
||||
authorized = {RoleType.Admin, RoleType.DomainAdmin})
|
||||
public class CloneDiskOfferingCmd extends CreateDiskOfferingCmd {
|
||||
|
||||
/////////////////////////////////////////////////////
|
||||
|
|
|
|||
|
|
@ -16,6 +16,7 @@
|
|||
// under the License.
|
||||
package org.apache.cloudstack.api.command.admin.offering;
|
||||
|
||||
import org.apache.cloudstack.acl.RoleType;
|
||||
import org.apache.cloudstack.api.APICommand;
|
||||
import org.apache.cloudstack.api.ApiConstants;
|
||||
import org.apache.cloudstack.api.ApiErrorCode;
|
||||
|
|
@ -30,7 +31,8 @@ import com.cloud.offering.ServiceOffering;
|
|||
responseObject = ServiceOfferingResponse.class,
|
||||
requestHasSensitiveInfo = false,
|
||||
responseHasSensitiveInfo = false,
|
||||
since = "4.23.0")
|
||||
since = "4.23.0",
|
||||
authorized = {RoleType.Admin, RoleType.DomainAdmin})
|
||||
public class CloneServiceOfferingCmd extends CreateServiceOfferingCmd {
|
||||
|
||||
/////////////////////////////////////////////////////
|
||||
|
|
|
|||
Loading…
Reference in New Issue