- 修复RouteService中错误过滤home路由的问题 - 后端现在正确返回所有用户有权限的路由 - 添加设备管理相关功能(列表、在线监控、电源管理、远程监控) - 添加详细的修复文档和重启脚本 - 更新权限配置脚本 问题根源:后端代码中有逻辑会过滤掉home路由,导致前端收到空数组,无法生成菜单 解决方案:移除过滤home路由的逻辑,让后端返回所有有权限的路由
47 lines
2.1 KiB
Plaintext
47 lines
2.1 KiB
Plaintext
// Copyright (c) 2007-2010, Intel Corporation. All rights reserved.
|
|
[Version ( "4.0.0" ),
|
|
Description (
|
|
"Represents a Remote Access policy. The policy defines a "
|
|
"condition that will trigger the establishment of a tunnel "
|
|
"between the Intel(R) AMT subsystem and a remote MpServer. The "
|
|
"policy also defines parameters for the connection such as "
|
|
"TunnelLifeTime in seconds." )]
|
|
class AMT_RemoteAccessPolicyRule : CIM_PolicyRule {
|
|
|
|
[Required, Description (
|
|
"The event that will trigger the establishment of the "
|
|
"remote connection to the MpServer." ),
|
|
ValueMap { "0", "1", "2", "3" },
|
|
Values { "User Initiated", "Alert", "Periodic",
|
|
"Home Provisioning" }]
|
|
uint16 Trigger;
|
|
|
|
[Required, Description (
|
|
"Defines the tunnel lifetime in seconds, 0 means no "
|
|
"lifetime- the tunnel should stay open until it is closed "
|
|
"by CloseRemoteAccessConnection or when a different "
|
|
"policy with higher priority needs to be processed." )]
|
|
uint32 TunnelLifeTime;
|
|
|
|
[Description (
|
|
"Data associated with the policy, up to 32 bytes. The "
|
|
"data should be in a network order. The extended data for "
|
|
"a policy with a periodic trigger contains first a "
|
|
"periodic type and after that the data for that type. For "
|
|
"periodic type 0 [Interval - The CIRA connection will be "
|
|
"established every fixed number of seconds] - the data "
|
|
"should include a uint32 value that indicates the time "
|
|
"period in seconds between tunnel establishments. For "
|
|
"periodic type 1 [Daily - The CIRA connection will be "
|
|
"established every day in a specific pre-defined time "
|
|
"(hour and minutes)] - the data should include two uint32 "
|
|
"values which define the wanted hour of the day and "
|
|
"minutes of that hour. For the other triggers extended "
|
|
"data is not defined and not needed. The length and data "
|
|
"should be zero." ),
|
|
Octetstring]
|
|
uint8 ExtendedData[32];
|
|
|
|
|
|
};
|