Skip to content

Commit ef16447

Browse files
committed
api: allow the api to be available for all account types
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
1 parent 8cfabb9 commit ef16447

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

api/src/main/java/org/apache/cloudstack/api/command/user/resource/ListDetailOptionsCmd.java

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@
1616
// under the License.
1717
package org.apache.cloudstack.api.command.user.resource;
1818

19+
import org.apache.cloudstack.acl.RoleType;
1920
import org.apache.cloudstack.api.APICommand;
2021
import org.apache.cloudstack.api.ApiArgValidator;
2122
import org.apache.cloudstack.api.ApiConstants;
@@ -32,7 +33,8 @@
3233
responseObject = DetailOptionsResponse.class,
3334
since = "4.13",
3435
requestHasSensitiveInfo = false,
35-
responseHasSensitiveInfo = false)
36+
responseHasSensitiveInfo = false,
37+
authorized = {RoleType.Admin, RoleType.ResourceAdmin, RoleType.DomainAdmin, RoleType.User})
3638
public class ListDetailOptionsCmd extends BaseCmd {
3739
public final static String APINAME = "listDetailOptions";
3840

0 commit comments

Comments
 (0)