make APIGetResourceNamesMsg open for normal accounts
package org.zstack.header.vo;
import org.springframework.http.HttpMethod;
+import org.zstack.header.identity.Action;
import org.zstack.header.message.APIParam;
import org.zstack.header.message.APISyncCallMessage;
import org.zstack.header.rest.RestRequest;
@@ -17,6 +18,7 @@ import static java.util.Arrays.asList;
method = HttpMethod.GET,
responseClass = APIGetResourceNamesReply.class
)
+@Action(category = "resource", names = {"read"})
public class APIGetResourceNamesMsg extends APISyncCallMessage {
@APIParam(nonempty = true)
private List<String> uuids;
