ravening commented on a change in pull request #4584:
URL: https://github.com/apache/cloudstack/pull/4584#discussion_r560139674
##########
File path:
api/src/main/java/org/apache/cloudstack/api/command/user/volume/UpdateVolumeCmd.java
##########
@@ -52,30 +52,33 @@
@Parameter(name=ApiConstants.ID, type=CommandType.UUID,
entityType=VolumeResponse.class, description="the ID of the disk volume")
private Long id;
- @Parameter(name = ApiConstants.PATH, type = CommandType.STRING,
description = "The path of the volume")
+ @Parameter(name = ApiConstants.PATH, type = CommandType.STRING,
description = "The path of the volume", authorized = {RoleType.Admin})
private String path;
@Parameter(name = ApiConstants.CHAIN_INFO,
type = CommandType.STRING,
description = "The chain info of the volume",
- since = "4.4")
+ since = "4.4", authorized = {RoleType.Admin})
Review comment:
admins and regular users can run this command. but regular users can
only change name
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]