You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: api/src/main/java/org/apache/cloudstack/api/command/admin/acl/CreateRoleCmd.java
+9-2Lines changed: 9 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -48,6 +48,10 @@ public class CreateRoleCmd extends RoleCmd {
48
48
description = "ID of the role to be cloned from. Either roleid or type must be passed in")
49
49
privateLongroleId;
50
50
51
+
@Parameter(name = ApiConstants.IS_PUBLIC, type = CommandType.BOOLEAN, description = "Indicates whether the role will be visible to all users (public) or only to root admins (private)." +
52
+
" If this parameter is not specified during the creation of the role its value will be defaulted to true (public).")
Copy file name to clipboardExpand all lines: api/src/main/java/org/apache/cloudstack/api/command/admin/acl/ImportRoleCmd.java
+9-1Lines changed: 9 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -64,6 +64,10 @@ public class ImportRoleCmd extends RoleCmd {
64
64
description = "Force create a role with the same name. This overrides the role type, description and rule permissions for the existing role. Default is false.")
65
65
privateBooleanforced;
66
66
67
+
@Parameter(name = ApiConstants.IS_PUBLIC, type = CommandType.BOOLEAN, description = "Indicates whether the role will be visible to all users (public) or only to root admins (private)." +
68
+
" If this parameter is not specified during the creation of the role its value will be defaulted to true (public).")
Copy file name to clipboardExpand all lines: api/src/main/java/org/apache/cloudstack/api/command/admin/acl/UpdateRoleCmd.java
+8-1Lines changed: 8 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -52,6 +52,9 @@ public class UpdateRoleCmd extends RoleCmd {
52
52
@Parameter(name = ApiConstants.DESCRIPTION, type = BaseCmd.CommandType.STRING, description = "The description of the role")
53
53
privateStringroleDescription;
54
54
55
+
@Parameter(name = ApiConstants.IS_PUBLIC, type = CommandType.BOOLEAN, description = "Indicates whether the role will be visible to all users (public) or only to root admins (private).")
0 commit comments